1.修改interfaces
root@pve1:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface ens33 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.202.101/24
gateway 192.168.202.2
bridge-ports ens33
bridge-stp off
bridge-fd 0
source /etc/network/interfaces.d/*
2.修改hosts
root@pve1:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.202.101 pve1.280i.com pve1
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
3.修改issue
root@pve1:~# cat /etc/issue
------------------------------------------------------------------------------
Welcome to the Proxmox Virtual Environment. Please use your web browser to
configure this server - connect to:
https://192.168.202.101:8006/
------------------------------------------------------------------------------
重启reboot
如若转载请注明出处: