配置网卡
#config netcard
nmcli connection modify eth0
ipv4.method manual ipv4.addresses 192.168.4.114/24
ipv4.dns 8.8.8.8 ipv4.gateway 192.168.4.1 connection.autoconnect yes
#start config
nmcli connection up eth0
#set hostname
echo mavendev > /etc/hostname
#set host
echo 192.168.4.114 mavendev >> /etc/hosts