Change default runlevel; imaging and labels
To change the default runlevel in linux, open up the /etc/inittab file, and look for this line:
id:5:initdefault:
Change the 5 to a 3 to move to an all text interface; something that is useful for nodes in a cluster.
Also, when doing imaging, make sure the /etc/hosts file references things by device and NOT by label; systemimager does not support labels. This caused the swap file on imaged machines to not work (yet strangely, /boot and / still worked even though they were using labels. Oh well).
Looks like I got all of the imaging kinks worked out, so now I'm going to try and finalize the image.
Oh yeah, you also have to *manually* edit the hosts file on the golden node. Strangely, this is not done when creating a golden image. It's not too hard though, just edit the /etc/hosts file to look similar to that of wolfhead.
id:5:initdefault:
Change the 5 to a 3 to move to an all text interface; something that is useful for nodes in a cluster.
Also, when doing imaging, make sure the /etc/hosts file references things by device and NOT by label; systemimager does not support labels. This caused the swap file on imaged machines to not work (yet strangely, /boot and / still worked even though they were using labels. Oh well).
Looks like I got all of the imaging kinks worked out, so now I'm going to try and finalize the image.
Oh yeah, you also have to *manually* edit the hosts file on the golden node. Strangely, this is not done when creating a golden image. It's not too hard though, just edit the /etc/hosts file to look similar to that of wolfhead.
0 Comments:
Post a Comment
<< Home