You've already forked www.colben.cn
update
This commit is contained in:
@@ -108,12 +108,6 @@ categories: ["kvm", "container"]
|
||||
#dnf install qemu-system
|
||||
```
|
||||
|
||||
- ~~修改 incus 服务文件~~
|
||||
```BASH
|
||||
sed -i 's/INCUS_OVMF_PATH/INCUS_EDK2_PATH/' /usr/lib/systemd/system/incus.service
|
||||
systemctl daemon-reload
|
||||
```
|
||||
|
||||
- 启动 incus 服务
|
||||
```BASH
|
||||
systemctl start incus
|
||||
@@ -320,7 +314,7 @@ incus3 | eth0: 192.168.1.3 | 10.10.10.3 | /dev/sdb | 10.10.10.3 incus3
|
||||
```BASH
|
||||
# 单机环境
|
||||
incus launch local:alpine/3.21 alpine-lxc \
|
||||
-c limits.cpu=2 -c limits.memory=4GiB -d root,size=5GiB -c linux.kernel_modules: ip_tables
|
||||
-c limits.cpu=2 -c limits.memory=4GiB -d root,size=5GiB -c linux.kernel_modules=ip_tables
|
||||
|
||||
# 集群环境中的 incus2 节点
|
||||
incus launch local:alpine/3.21 alpine-lxc \
|
||||
|
||||
Reference in New Issue
Block a user