需要编辑lxc的两个配置文件
lxc.uts.name
1
nano /var/lib/lxc/容器的id编号/config
hostname
nano /etc/pve/lxc/容器的id编号.conf