RHEL/Centos 6, VM’s and Network interfaces

I’m not liking the ‘new’ use of udev rules to set network interfaces. It makes creating templates a tad more annoying.
I’m also not a fan of the use of NetworkManager in RHEL, but I didn’t install it, so I guess that doesn’t count.
Anyway, for those who wish to build VM templates remember this:

echo >/etc/udev/rules.d/70-persistent-net.rules

Do this just before you shutdown and convert to template and it will detect the new NIC’s on boot.

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: