net.ifname=0 biosdevname=0
只分根分区(物理机划分swap)
yum clean all
yum clean metadata
yum install -y bash-completion lrzsz wget unzip ntpdate screen iotop lsof tree telnet vim net-tools
yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest.el7.noarch.rpm -y
systemctl stop firewalld 1>&2
systemctl disable firewalld.service 1>&2
systemctl mask iptables ip6tables ebtables && iptables -P INPUT ACCEPT && iptables -P OUTPUT ACCEPT && iptables -P FORWARD ACCEPT && iptables -F
setenforce 0
sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/selinux/config