先添加网络接口,就不多说了
ssh中发现
cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 openmediavault
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
cat /etc/hostname
Chainedbox
两个不一样
解决
vim /etc/hosts
127.0.0.1 localhost Chainedbox
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
参考https://blog.youkuaiyun.com/lqx4_3/article/details/78608159