[oi-dev] sysidcfg

G B g_patrickb at yahoo.com
Tue Jun 18 00:15:28 UTC 2013


I swear I tried the sysidcfg on the wiki page before anything else and it didn't work, but it works now.  So whatever it was must have been operator error!




________________________________
 From: Jim Klimov <jimklimov at cos.ru>
To: oi-dev at openindiana.org 
Sent: Monday, June 17, 2013 4:54 AM
Subject: Re: [oi-dev] sysidcfg
 

On 2013-06-17 03:08, G B wrote:
> Interesting, because no matter what I do it will not work and I have to
> login to the console.

Basically, the sysidcfg software stack relies on presence of a number
of answers on its questions to system configuration - interactive or prepared. If it asks for only some replies, then your sysidcfg file
is incomplete to its expectations (maybe new "questions" were added,
or some data needs more clarification now). If it asks for all answers
on the console, than likely something is wrong with the mechanism or
the filenames it is fed.

See here for an example which worked for me:
http://wiki.openindiana.org/oi/Building+in+zones

Also, when some parts are preconfigured otherwise (i.e. DNS-related
files are baked in) they may be marked in a state-file, so these
questions are not asked again, i.e.:

# cat /etc/.sysIDtool.state
1       # System previously configured?
1       # Bootparams succeeded?
1       # System is on a network?
1       # Extended network information gathered?
1       # Autobinder succeeded?
1       # Network has subnets?
1       # root password prompted for?
1       # locale and term prompted for?
1       # security policy in place
1       # NFSv4 domain configured
0       # Auto Registration Configured
vt100

See if it exists in your template zone, and what it contains.
Maybe just removing it might help (use the /etc/sysidcfg file).

Also, to log in to a non-configured zone's OS (before the root
account's password and access rights are defined) you can try
to use "zlogin -S zonename" from the GZ.

HTH,
//Jim


_______________________________________________
oi-dev mailing list
oi-dev at openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20130617/b84ce476/attachment-0005.html>


More information about the oi-dev mailing list