unable to resolve host X100: Name or service not known
127.0.0.1 X100
输出主机名到 hosts文件中即 sudo cat <<EOL >>/etc/hosts 127.0.0.1 $HOSTNAME EOL 或者手工添加 vi /etc/hosts 127.0.0.1 X100N