Skip to content

Commit f58b071

Browse files
committed
feat: 增加incus一键卸载所有环境的脚本命令
1 parent 67312d9 commit f58b071

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

docs/en/guide/incus/incus_install.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ The execution process **may** require a **manual reboot** to load the storage ty
7171
If you need to open more than 200 Incus containers on a single server, then it is not recommended to use this project, there may be problems with lxcfs access drift, which generates IO occupancy that cannot be released. (This is a native LXC problem that can't be fixed.)
7272
:::
7373

74+
## Uninstall Incus Environment
75+
76+
One-click uninstall of the complete Incus environment, including all containers, VMs, images, storage pools, network configurations, systemd services, packages, and related configuration files:
77+
78+
```shell
79+
bash <(curl -sSL https://raw.githubusercontent.com/oneclickvirt/incus/main/scripts/uninstall_incus.sh)
80+
```
81+
7482
## Manual Installation (optional)
7583

7684
Not recommended, just to install for some oddball environments where one-click scripts won't run, or if you want to understand the most basic Incus installation process.

docs/guide/incus/incus_install.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,22 @@ bash incus_install.sh
8585
如果你需要在一台服务器上开启超过200个INCUS容器,那么不推荐你使用本项目,可能会出现lxcfs访问漂移的问题,产生IO占用无法释放。(系lxc原生问题无法修复)
8686
:::
8787

88+
## 卸载 Incus 环境
89+
90+
一键卸载 Incus 全套环境,包括所有容器、虚拟机、镜像、存储池、网络配置、systemd 服务、软件包及相关配置文件:
91+
92+
国际
93+
94+
```shell
95+
bash <(curl -sSL https://raw.githubusercontent.com/oneclickvirt/incus/main/scripts/uninstall_incus.sh)
96+
```
97+
98+
国内
99+
100+
```shell
101+
bash <(curl -sSL https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/incus/main/scripts/uninstall_incus.sh)
102+
```
103+
88104
## 手动安装(备选)
89105

90106
不推荐,只是为了一些奇葩环境一键脚本跑不动的时候进行安装,或则你想要了解最基础的Incus安装流程。

0 commit comments

Comments
 (0)