Create an unconfigured VMware host from a template that is set to do firstboot --reconfig


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Create an unconfigured VMware host from a template that is set to do firstboot --reconfig
# 8  
Old 06-05-2015
Quote:
Originally Posted by Corona688
Moderator's Comments:
Mod Comment Posting "Does not work" without explanation does not help you or anyone. If a command does not work for you, please show the exact circumstances you used it, and the exact error or malfunction you received. Do not paraphrase errors, or post the text as links, images, or attachments if you can avoid it: Paste the exact message, in code tags, like [code] text [/code] or by selecting the text and using the Image button.

Thank you.

The UNIX and Linux Forums
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.
# 9  
Old 06-05-2015
this bugzilla ticket looks relevant: https://bugzilla.redhat.com/show_bug.cgi?id=1194155
These 2 Users Gave Thanks to neutronscott For This Post:
# 10  
Old 06-08-2015
Quote:
Originally Posted by neutronscott
this bugzilla ticket looks relevant: https://bugzilla.redhat.com/show_bug.cgi?id=1194155
I have an oracle SR opened on this and this was their answer:

Quote:
"Could you please remove the firstboot file by issuing the following command # rm /etc/sysconfig/firstboot, and then reboot the VM to see if this is what you are looking for. "
I referred them to the bug you mentioned. I'll post what they say.
# 11  
Old 06-11-2015
Solution

#1. login in as root (not listed?)
#2. remove all users
#3. remove root passwd
Code:
 
# passwd -d root

#4. set passwd for root to expire, forcing a reset on next login
Code:
# 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.

Last edited by os2mac; 06-11-2015 at 05:01 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Creating a VMware template

Hello, I am creating a Solaris 11 template on my ESXI host. I would like each VM that is deployed from the template to have its own unique host fingerprint. With Linux, I simply delete host keys, which causes new keys to be generated at bootup (new VM deployment) Is there a way to do this... (1 Reply)
Discussion started by: firefoxx04
1 Replies

2. Shell Programming and Scripting

Bash/awk and for loop to create a template

Source File: google.cz http://czechrepublic.google.com/ http://czechrepublic.google.cz http://czechrepublic.google.com/ http://brno.google.cz http://brno.google.com/ Fail Code root@arisvm ~/g] $ cat trya rm -f ss for i in a.txt do #b=`cat $i|awk '{print $1}'` #c=`cat $i|awk '{print... (4 Replies)
Discussion started by: invinzin21
4 Replies

3. UNIX and Linux Applications

Help with Install KVM and Create Virtual Machines VMWare In PC

Help with Install KVM and Create Virtual Machines VMWare In PC. I want to lean KVM bios Logical Volume Management by KVM and other problem fix remotely.So,I want to practice on my PC.It,s Possible then how? Thank you (0 Replies)
Discussion started by: domaingood
0 Replies

4. Shell Programming and Scripting

Script to create EVIM template with SAS extension

I write lots of SAS programs and would like to create a script that allows me to have a template each time I create a new program file. Specs: I use EVIM for my editor. I run SAS in batch mode. We use RedHat 6. I don't use c shell. I want a script that will do the following: >... (3 Replies)
Discussion started by: starbecks
3 Replies

5. Programming

Perl script to create latex template.

Hi, I have XML file and I extracted some tags and stored in hash, my data as look like this $var1={ 'stud.xml'={ '24'=>'<address> <streetname="xxxx"/> <housenum="138"/"> ... (9 Replies)
Discussion started by: veerubiji
9 Replies

6. AIX

AIX Server - Need to set up VMWare

Hi experts, We are faced with a dilemma - we have a AIX server for educational purposes. We had some Oracle applications running on them. The management decided not to extend the warranty, so we are left with a server that we cannot upgrade immediately. I was wondering if we could set up... (2 Replies)
Discussion started by: ranj@chn
2 Replies

7. Red Hat

can't ping to my VMWare CentOs after seting host name

Im using CentOs 5.5 , i tried to change the host name to be for example my_server_1 , according to the web i changed the /etc/sysconf/network to look like this : NETWORKING=yes NETWORKING_IPV6=no #HOSTNAME=localhost.localdomain HOSTNAME=my_server_1 and changed the hosts file to look like this... (1 Reply)
Discussion started by: umen
1 Replies

8. Solaris

Connectivity between Solaris 10 in VMWare and windows Host

I have installed Open Solaris 10 on VMware which is hosted on Windows XP, my PC. I would like to have a connection between Solaris and Windows, so that i can SSH/Telnet from windows to Solaris. I don't have any Internet connection. Please help me with the network connection settings i have to... (3 Replies)
Discussion started by: mailsachin245
3 Replies

9. Solaris

Solaris on Vmware host of vista

Hi I am planning to install solaris as a virtual machine on vista as host os. My requirements are I want to access virtual machine from vista using putty. So how to assign static ip to virtual machine ? In future i might have to virtual machines so i want communication between them as... (3 Replies)
Discussion started by: ankurk
3 Replies

10. Shell Programming and Scripting

create users from template

Create users from template file (0 Replies)
Discussion started by: rijeshpp
0 Replies
Login or Register to Ask a Question