Update lxd_lxc.md

This commit is contained in:
spiritlhl
2023-06-18 08:59:11 +08:00
committed by GitHub
parent fa5db0da71
commit f1f87c3287

View File

@@ -6,9 +6,9 @@
- 带1个SSH端口25个外网端口
- 默认内存和硬盘大小
::tip
:::tip
lxc若命令无问题执行初始化开小鸡这一步最好放```screen```中后台挂起执行,开小鸡时长与你开几个和母鸡配置相关
::
:::
执行下面命令加载开机脚本
@@ -40,9 +40,9 @@ curl -L https://ghproxy.com/https://raw.githubusercontent.com/spiritLHLS/lxc/mai
- 只有一个SSH端口
- 无法挂载warp
::tip
:::tip
lxc若命令无问题执行初始化开小鸡这一步最好放```screen```中后台挂起执行,开小鸡时长与你开几个和母鸡配置相关
::
:::
加载开机脚本
@@ -81,9 +81,9 @@ curl -L https://ghproxy.com/https://raw.githubusercontent.com/spiritLHLS/lxc/mai
cat log
```
::warning
:::warning
不要拿该脚本开出的小鸡当生产环境LXC虚拟化不支持换内核dd开启bbr等操作
::
:::
## 部分常用LXD命令
@@ -215,4 +215,4 @@ cat test
lxc delete -f test
rm -rf test
ls
```
```