change host anme
發表於 : 2018-01-05 10:00:34
https://pve.proxmox.com/wiki/Renaming_a_PVE_node
代碼: 選擇全部
/etc/hosts
/etc/hostname
hostname -F /etc/hostname
Also copy the contents of /var/lib/rrdcached/db/pve2-{node,storage}/old-hostname to /var/lib/rrdcached/db/pve2-{node,storage}/new-hostname and remove the old directory.
copy /etc/pve/nodes/pve/qemu-server to /etc/pve/nodes/pveh/qemu-server
mv /etc/pve/nodes/pve /tmp