Created
May 8, 2013 19:35
-
-
Save dky/5543015 to your computer and use it in GitHub Desktop.
Delete mac address and network manager parameters from ifcfg-eth0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i.backup '/HWADDR=/d' /etc/sysconfig/network-scripts/ifcfg-eth0 | |
sed -i.backup '/NM_CONTROLLED/d' /etc/sysconfig/network-scripts/ifcfg-eth0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment