Skip to content

Commit 61f54d8

Browse files
committed
fix
1 parent 9999c14 commit 61f54d8

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

docs/en/guide/lxd/lxd_install.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ If the corresponding disk has 18 Gigabytes of free hard disk space in addition t
7979
If you plan to run more than 200 LXD containers on one server, this solution is not recommended. `lxcfs` drift can cause persistent I/O load that is hard to recover from. (This is an upstream LXC limitation.)
8080
:::
8181

82+
## Uninstall LXD Environment
83+
84+
One-click uninstall of the complete LXD environment, including all containers, VMs, images, storage pools, network configurations, systemd services, packages, and related configuration files:
85+
86+
```shell
87+
curl -L https://raw.githubusercontent.com/oneclickvirt/lxd/main/scripts/lxduninstall.sh -o lxduninstall.sh && chmod +x lxduninstall.sh && bash lxduninstall.sh
88+
```
89+
8290
## Installation of WEB Control Panel
8391

8492
The customization section also includes guidance for enabling the official panel. Here we recommend a third-party panel instead, because the official panel prioritizes security over user experience in several workflows.

docs/guide/lxd/lxd_install.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,23 @@ export noninteractive=true && bash lxdinstall.sh
8888
如果你需要在一台服务器上开启超过200个LXD容器,那么不推荐你使用本项目,可能会出现lxcfs访问漂移的问题,产生IO占用无法释放。(系lxc原生问题无法修复)
8989
:::
9090

91+
## 卸载 LXD 环境
92+
93+
一键卸载 LXD 全套环境,包括所有容器、虚拟机、镜像、存储池、网络配置、systemd 服务、软件包及相关配置文件:
94+
95+
国际
96+
97+
```shell
98+
curl -L https://raw.githubusercontent.com/oneclickvirt/lxd/main/scripts/lxduninstall.sh -o lxduninstall.sh && chmod +x lxduninstall.sh && bash lxduninstall.sh
99+
```
100+
101+
国内
102+
103+
```shell
104+
curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/lxd/main/scripts/lxduninstall.sh -o lxduninstall.sh && chmod +x lxduninstall.sh && bash lxduninstall.sh
105+
```
106+
107+
91108
## 安装WEB控制面板
92109

93110
自定义 教程中有关于官方面板怎么启用的教程,但这里不选择使用官方的面板,因为官方面板为了安全性,牺牲了很多用户体验,这块使用

0 commit comments

Comments
 (0)