Skip to content

Instantly share code, notes, and snippets.

@dky
Created May 8, 2013 19:35
Show Gist options
  • Save dky/5543015 to your computer and use it in GitHub Desktop.
Save dky/5543015 to your computer and use it in GitHub Desktop.
Delete mac address and network manager parameters from ifcfg-eth0
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