Archive for the ‘ Rants ’ Category

Spacewalk, Repos and generic insanity.

So I’ve been building a spacewalk server. While the documentation is quite good, some of it can be lacking in specifics.
What I mean is, while you can combine repos into one channel weird things start happening. For example I wanted to make one channel for all my Centos boxes to use for all official Centos packages/updates.

If you do this, you get a weird channel with all the old and new packages sitting side-by-side and refusing to update each other.

Also there are two Spacewalk repos. One with the Server and it’s various┬ádependencies. The other contains utilities you will need after installing the Server. (rhn-client and the like)

Anyway I hope this helps somebody, it caused me to yell at my screen for a bit today.

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.