换主板后连不上pve管理口的解决方法
nano /etc/network/interfaces
然后把en0,enp开头之类的网卡名称,改为看到的网卡名
GNU nano 7.2 /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp2s0 inet manual
iface enx00e04c68013b inet manual
iface enp1s0f0 inet manual
iface enp1s0f1 inet manual
iface enp3s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.99.99/24
gateway 192.168.99.1
bridge-ports enp3s0
bridge-stp off
bridge-fd 0
Ctlr+O保存
Ctrl+X推出
然后reboot重启
一般改红框内的这几个就行了,不用重新加载,如果遇到不起作用,可以试试重启 init 6
如果刚按照好PVE,没有vim命令,使用nano命令代替。
这两个是关于显示用的,不用配置也不影响使用。
THE END