Commit 5d8a4c22 by Czémán Arnold

network: Fix vm interface up error

parent 8b0376e0
#!/bin/bash #!/bin/bash
sed -i '/HWADDR=.*/d' /etc/sysconfig/network-scripts/ifcfg-vm sed -i '/HWADDR=.*/d' /etc/sysconfig/network-scripts/ifcfg-vm
sed -i -e \$aNM_CONTROLLED=\"no\" /etc/sysconfig/network-scripts/ifcfg-vm
ifup vm ifup vm
systemctl restart firewall systemctl restart firewall
systemctl restart dhcpd systemctl restart dhcpd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment