This commit is contained in:
colben 2025-03-14 20:38:49 +08:00
parent f935311a57
commit e921e5a2f7

View File

@ -100,7 +100,7 @@ categories: ["kvm", "container"]
```
#### centos/rocky
- 安装 incus 包,**目前测试无法启动 kvm 虚拟机**
- 安装 incus 包,**目前测试 qemu 启动 vm 失败**
```BASH
dnf -y copr enable ligenix/enterprise-qemu-wider
dnf install lvm2 incus incus-tools
@ -108,7 +108,7 @@ categories: ["kvm", "container"]
#dnf install qemu-system
```
- 修改 incus 服务文件
- ~~修改 incus 服务文件~~
```BASH
sed -i 's/INCUS_OVMF_PATH/INCUS_EDK2_PATH/' /usr/lib/systemd/system/incus.service
systemctl daemon-reload
@ -163,7 +163,7 @@ incus3 | eth0: 192.168.1.3 | 10.10.10.3 | /dev/sdb | 10.10.10.3 incus3
- [每台服务器的操作与单机环境完全一致](#安装-incus-环境)
### 创建网桥
#### debian 系 linux
#### debian
- **在每台服务器里执行下面操作**
- 创建网桥 incusbr
```BASH
@ -190,7 +190,7 @@ incus3 | eth0: 192.168.1.3 | 10.10.10.3 | /dev/sdb | 10.10.10.3 incus3
systemctl restart networking
```
#### redhat 系 linux
#### centos/rocky/fedora
- **在每台服务器里执行下面操作**
- 创建网桥 incusbr连接服务器网卡 eth0**注意此操作可能会导致服务器断网**
```BASH