I have an Oracle Linux 7.1 vsphere host built. It's be preconfigured with our security configurations.
What I would like to do is unconfigure this host. Then set the host to do firstboot --reconfigure.
how do I do that using /etc/sysconfig/firstboot?
I've tried setting
RUN_FIRSTBOOT=RECONFIG
in /etc/sysconfig/firstboot
then doing:
systemctl enable firstboot-graphical.service
but this just brings up the ULNconfig options.
anyone got any ideas?
NOTE: to anyone not aware, Oracle LINUX is really just a rebranded Red Hat.
that didn't work, I presume because of the differences between 6 and 7. Thanks for the input though... I'll post something if I figured out.
Have you installed the VMware deployPkg plug-in?
Perhaps you could try a cloning tool, such as Storix (which I like) or Christie Clone Manager (which I've heard of but never used)
Others may be available.
Robin
Moderator comments were removed during original forum migration.
corona688:
in normal circumstances I would agree with you, but in this case. That's all the answer I can give. The goal here is to create an unconfigured VMware template that boots with the firstboot reconfiguration GUI. None of the options so far offered have done that, nore have they produced any errors. The host just boots up normally like nothing has been attempted.
os2mac
June 8, 2015, 1:15pm
10
I have an oracle SR opened on this and this was their answer:
I referred them to the bug you mentioned. I'll post what they say.
os2mac
June 11, 2015, 3:54pm
11
#1 . login in as root (not listed?)
#2 . remove all users
#3 . remove root passwd
# passwd -d root
#4 . set passwd for root to expire, forcing a reset on next login
# passwd -e root
#5 . sys-unconfig
then convert to template.
this will force the firstboot GUI on boot, then you su - in a terminal and set the passwd for root when you su - the first time.