标签:centos dns ati service star inux restart virtual tar
# 基于桥接模式设置固定 ip
cat >> /etc/sysconfig/network-scripts/ifcfg-enp0s3 << EOF
# network setting
BOOTPROTO=static
# 固定ip
IPADDR=192.168.1.84
# 网关
GATEWAY=192.168.1.1
# DNS
DNS1=8.8.8.8
DNS2=114.114.114.114
EOF
# 重启network
service network restart
标签:centos dns ati service star inux restart virtual tar
原文地址:https://www.cnblogs.com/xcmelody/p/10960863.html