As with most of my posts recently I have been looking at what is required to setup an isolated lab environment and from what started out as a simple idea, has slightly snowballed, due to one or more issues along the way.
The most recent is… During the installation I found that after selecting my installation options via the GUI, I was confronted with a status message “Waiting for 1 threads to finish”. It sat there for a very long time!
Adding the “inst.geoloc=0” kernel parameter. So my CentOS 7.2 code block in the pxelinux.cfg/default now looks like this;
LABEL Install_CentOS_7_2 MENU LABEL CentOS 7.2 KERNEL centos7/vmlinuz APPEND initrd=http://rhc-server.lab.tobyheywood.com/centos7/images/pxeboot/initrd.img inst.repo=http://rhc-server.lab.tobyheywood.com/centos7 inst.geoloc=0
Why does this make a difference
Well, it turns out the RHEL/CentOS 7 installation process & Fedoras’ for that matter try to be clever and determine your geographical location. Now in a sandboxed world, that is going to be pretty challenging for the installer to accomplish, so it sits there, doing for all intents and purposes not a lot.
Adding the above mentioned parameter helps by simply disabling that functionality.
As with all things in life reading the manual is very useful. 🙂
And here is the manual; https://rhinstaller.github.io/anaconda/boot-options.html
Thanks to Matt Brown on Flickr.com for the featured image