Skip to content

Commit 7326751

Browse files
committed
fix:整体优化
1 parent 9c0ae72 commit 7326751

19 files changed

Lines changed: 123 additions & 9 deletions

File tree

docs/case/case1.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Shell 版本:[https://github.com/spiritLHLS/ecs](https://github.com/spiritLHLS
7272

7373
#### **一键命令**
7474

75-
**一键命令**将默认**不安装依赖**,默认**不更新包管理器**,默认**非互动模式**
75+
**一键命令**将默认**不安装依赖**,默认**不更新包管理器**,默认**无交互模式**
7676

7777
- **国际用户无加速:**
7878

@@ -108,7 +108,7 @@ Shell 版本:[https://github.com/spiritLHLS/ecs](https://github.com/spiritLHLS
108108

109109
#### **详细说明**
110110

111-
以下命令可控制**是否安装依赖****是否更新包管理器****互动模式和非交互模式**
111+
以下命令可控制**是否安装依赖****是否更新包管理器****交互模式和无交互模式**
112112

113113
<details>
114114
<summary>展开查看详细说明</summary>
@@ -139,7 +139,7 @@ Shell 版本:[https://github.com/spiritLHLS/ecs](https://github.com/spiritLHLS
139139
./goecs.sh env
140140
```
141141

142-
**非互动模式**
142+
**无交互模式**
143143

144144
```bash
145145
export noninteractive=true && ./goecs.sh env

docs/en/guide/containerd/containerd_install.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,18 @@ curl -L https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o
2828
- Detects public IPv6 address; if present, automatically creates containerd-ipv6 CNI network and starts NDP Responder
2929
- Installs DNS liveness check service (check-dns.service)
3030
- Supports x86_64 and ARM64 architecture servers
31+
- For non-interactive installation, use `export noninteractive=true` before the install command. The script will apply default choices for optional prompts
3132

3233
```shell
3334
bash <(curl -sSL https://raw.githubusercontent.com/oneclickvirt/containerd/main/containerdinstall.sh)
3435
```
3536

37+
Use the same prefix with any mirror command, for example:
38+
39+
```shell
40+
export noninteractive=true && bash <(curl -sSL https://raw.githubusercontent.com/oneclickvirt/containerd/main/containerdinstall.sh)
41+
```
42+
3643
:::tip
3744
After installation, run `nerdctl ps -a` to verify the containerd environment is working correctly.
3845
:::

docs/en/guide/docker/docker_install.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ curl -L https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o
3434
- If requirements are met, deploys `ndpresponder` and `radvd` for IPv6 NDP and auto-allocation behavior
3535
- Supports x86_64 and ARM servers
3636
- Installer prompts include Docker install path and optional disk-limit capability
37+
- For non-interactive installation, use `export noninteractive=true` before the install command. The script will apply default choices for optional prompts
3738

3839
Command:
3940

@@ -47,6 +48,12 @@ OR
4748
bash dockerinstall.sh
4849
```
4950

51+
Non-interactive example after downloading the script:
52+
53+
```shell
54+
export noninteractive=true && bash dockerinstall.sh
55+
```
56+
5057
:::tip
5158
The installation process may require a reboot. If prompted, reboot the server and run the script again.
5259
:::
@@ -75,4 +82,4 @@ bash <(curl -sSL https://raw.githubusercontent.com/oneclickvirt/docker/main/dock
7582
:::warning
7683
The script requires entering `yes` to confirm before execution. This operation is irreversible. Deleted content includes all containers, images, and network configurations.
7784
Retest workflow: Run uninstall first, then run install to verify the entire installation process from scratch.
78-
:::
85+
:::

docs/en/guide/incus/incus_install.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ If this is a new server, make sure that both ```update``` and ```curl``` are wor
4242
- The server needs to be restarted after the environment installation process to load some default configurations
4343
- By default, lxcfs-related configuration is enabled, so that in-container querying of container information changes to information about the container itself rather than the host
4444
- This installer has been tested to work on either physical or non-physical machines
45+
- For non-interactive installation, use `export noninteractive=true` before the install command. The script will apply default choices for optional prompts
4546

4647
Command:
4748

@@ -55,6 +56,12 @@ OR
5556
bash incus_install.sh
5657
```
5758

59+
Non-interactive example after downloading the script:
60+
61+
```shell
62+
export noninteractive=true && bash incus_install.sh
63+
```
64+
5865
Example of initialization configuration:
5966

6067
If you don't need to specify the path of a non-system disk as the default storage pool, then you can directly enter or type ```n``` when choosing whether to customize the storage pool path, and you don't need to specify the path.

docs/en/guide/kubevirt/kubevirt_install.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,18 @@ curl -L https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o
2828
- Automatically configures Flannel network plugin and port forwarding
2929
- Automatically detects public IPv6 address and configures IPv6 network (if present)
3030
- Supports x86_64 and ARM64 architecture servers
31+
- For non-interactive installation, use `export noninteractive=true` before the install command. The script will apply default choices for optional prompts
3132

3233
```shell
3334
bash <(curl -sSL https://raw.githubusercontent.com/oneclickvirt/kubevirt/main/kubevirtinstall.sh)
3435
```
3536

37+
Use the same prefix with any mirror command, for example:
38+
39+
```shell
40+
export noninteractive=true && bash <(curl -sSL https://raw.githubusercontent.com/oneclickvirt/kubevirt/main/kubevirtinstall.sh)
41+
```
42+
3643
:::tip
3744
After installation, it is recommended to run `kubectl get pods -n kubevirt` to verify that the KubeVirt environment is working correctly. All Pods should be in `Running` state.
3845
:::

docs/en/guide/lxd/lxd_install.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ It's recommended to wait for at least 5 minutes after the system boots up before
4747
- The server needs to be restarted after the environment installation process to load some default configurations
4848
- By default, lxd's lxcfs-related configuration is enabled, so that in-container querying of container information changes to information about the container itself rather than the host
4949
- This installer has been tested to work on either physical or non-physical machines
50+
- For non-interactive installation, use `export noninteractive=true` before the install command. The script will apply default choices for optional prompts
5051

5152
Command:
5253

@@ -60,6 +61,12 @@ OR
6061
bash lxdinstall.sh
6162
```
6263

64+
Non-interactive example after downloading the script:
65+
66+
```shell
67+
export noninteractive=true && bash lxdinstall.sh
68+
```
69+
6370
Example of initialization configuration:
6471

6572
If you don't need to specify the path of a non-system disk as the default storage pool, then you can directly enter or type ```n``` when choosing whether to customize the storage pool path, and you don't need to specify the path.

docs/en/guide/oneclickvirt/oneclickvirt_install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ Interactive environment installation
5454
./install.sh env
5555
```
5656

57-
Non-interactive environment installation
57+
Non-interactive environment installation (use `export noninteractive=true` to enable non-interactive mode)
5858

5959
```
60-
noninteractive=true ./install.sh env
60+
export noninteractive=true && ./install.sh env
6161
```
6262

6363
###### Main Installation

docs/en/guide/podman/podman_install.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,18 @@ curl -L https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o
2828
- Detects public IPv6 address; if present, automatically creates podman-ipv6 network and starts NDP Responder
2929
- Installs DNS liveness check service (check-dns-podman.service)
3030
- Supports x86_64 and ARM64 architecture servers
31+
- For non-interactive installation, use `export noninteractive=true` before the install command. The script will apply default choices for optional prompts
3132

3233
```shell
3334
bash <(curl -sSL https://raw.githubusercontent.com/oneclickvirt/podman/main/podmaninstall.sh)
3435
```
3536

37+
Use the same prefix with any mirror command, for example:
38+
39+
```shell
40+
export noninteractive=true && bash <(curl -sSL https://raw.githubusercontent.com/oneclickvirt/podman/main/podmaninstall.sh)
41+
```
42+
3643
:::tip
3744
After installation, run `podman ps -a` to verify the Podman environment is working correctly.
3845
:::

docs/en/guide/pve/pve_install.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ Some source environments are missing ```ifupdown``` or ```ifupdown2```. The inst
4444

4545
If the host already has an SLAAC-assigned IPv6 address, you can choose whether to use the largest detected IPv6 subnet range. The default Enter option keeps local IPv6 only. If you plan to assign independent IPv6 addresses to VMs/containers later, choose ```y```.
4646

47+
For non-interactive installation, use `export noninteractive=true` before the install command. The script will apply default choices for optional prompts.
48+
4749
Command:
4850

4951
```shell
@@ -56,6 +58,12 @@ or
5658
bash install_pve.sh
5759
```
5860

61+
Non-interactive example after downloading the script:
62+
63+
```shell
64+
export noninteractive=true && bash install_pve.sh
65+
```
66+
5967
:::tip
6068
After installation, the browser may show a certificate warning. Click Advanced (or equivalent) and continue if you trust the host.
6169
:::

docs/en/guide/qemu/qemu_install.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,18 @@ curl -L https://raw.githubusercontent.com/spiritLHLS/addswap/main/addswap.sh -o
2727
- Automatically configures the host bridge (virbr0) and NAT network
2828
- Automatically detects public IPv6 address and configures IPv6 network (if present)
2929
- Supports x86_64 and ARM64 architecture servers
30+
- For non-interactive installation, use `export noninteractive=true` before the install command. The script will apply default choices for optional prompts
3031

3132
```shell
3233
bash <(curl -sSL https://raw.githubusercontent.com/oneclickvirt/qemu/main/qemuinstall.sh)
3334
```
3435

36+
Use the same prefix with any mirror command, for example:
37+
38+
```shell
39+
export noninteractive=true && bash <(curl -sSL https://raw.githubusercontent.com/oneclickvirt/qemu/main/qemuinstall.sh)
40+
```
41+
3542
:::tip
3643
After installation, it is recommended to run `virsh list --all` to verify that the KVM environment is working correctly.
3744
:::

0 commit comments

Comments
 (0)