Skip to content
This repository has been archived by the owner on Jun 4, 2018. It is now read-only.

Commit

Permalink
Add udev hack to fix networking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aw committed Sep 22, 2013
1 parent 030d0c9 commit d4b001a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions os_list/centos/i386/centos-6.4/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ reboot
@core
bzip2
%end

%post
sed -i /HWADDR/d /etc/sysconfig/network-scripts/ifcfg-eth0
rm /etc/udev/rules.d/70-persistent-net.rules
mkdir /etc/udev/rules.d/70-persistent-net.rules
%end
6 changes: 6 additions & 0 deletions os_list/centos/x86_64/centos-6.4/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ reboot
@core
bzip2
%end

%post
sed -i /HWADDR/d /etc/sysconfig/network-scripts/ifcfg-eth0
rm /etc/udev/rules.d/70-persistent-net.rules
mkdir /etc/udev/rules.d/70-persistent-net.rules
%end

0 comments on commit d4b001a

Please sign in to comment.