sysidcfg found, but Jumpstart is interactive

From: Jay Sekora (jay@ccs.neu.edu)
Date: Thu Jul 31 2003 - 15:15:17 EDT


Hi. I'm trying to configure a Jumpstart server to install Solaris 9 from
a flash archive. I've provided a sysidcfg file, and instrumenting
the sysidfind script in the Jumpstart client root filesystem
(.../boot/Solaris_9/Tools/Boot/sbin/sysidfind) shows that the client
is in fact finding and using the right sysidcfg file. However, the
installation becomes interactive -- X11 starts, and a terminal window
titled "sysidtool" comes up and starts asking me questions. What I
want is for the installation to be completely hands-off after I type
"boot net - install" at the "ok>" prompt.

Actually, it's only asking for whether the network is subnetted and what
the subnet mask is -- but I'd expect it to get that from DHCP. (Our PCs
do get their subnet mask from DHCP.) I can't specify the subnet by hand
in the sysidcfg file, because that's illegal if you specify "dhcp", and it
doesn't make sense to specify everything manually and not use dhcp during
the install, because we'll eventually have 150 hosts or so doing this.

My sysidcfg file looks like this (with some stuff replaced by XXX):

system_locale=en_US
timezone=US/Eastern
timeserver=129.10.XXX.XXX
network_interface=primary {dhcp protocol_ipv6=no}
terminal=xterm
security_policy=NONE
name_service=DNS {domain_name=ccs.neu.edu name_server=129.10.XXX.XXX,129.10.XXX.XXX,129.10.XXX.XXX}
root_password=XXX

(I've tried it without "terminal" and "security_policy", too.)

I'm assuming, by the way, that time is set from the timeserver via
NTP -- that's correct, isn't it?

My "rules" file looks like this:

model 'SUNW,Sun-Blade-100' null.sh SunBlade100_9 null.sh
model 'SUNW,Sun-Blade-150' null.sh SunBlade100_9 null.sh

and I have run "./check" to generate "rules.ok". (null.sh is just
a shell script that runs /bin/true. I had had "-" where "null.sh"
appears now, but I saw a recent post by Andy Hardy that said that if
you're using DNS for name service, you need an explicit finish script.
So I stuck null.sh in there, but it didn't help. Why is it that one
needs a finish script if one is using DNS, by the way?)

The SunBlade100_9 profile looks like this:

install_type flash_install
archive_location nfs narnia:/vol/services/jumpstart/rc2.flar
partitioning explicit
filesys c0t0d0s0 5120 /
filesys c0t0d0s1 2048 swap
filesys c0t0d0s3 free /reserved
filesys c0t0d0s4 2048 /opt
filesys c0t0d0s5 2048 /var
filesys c0t0d0s7 2048 /priv

(where narnia is in fact in DNS and is exporting the filesystem read-only
to the client host.)

One thing that probably isn't relevant but has given us some trouble
in the past is that our netmask is slightly unusual: 255.255.254.0.
However, that's specified correctly by DHCP, in
.../boot/Solaris_9/Tools/Boot/netmask, and in /etc/netmasks on the
Jumpstart server.

Any ideas or suggestions would be appreciated.

Thanks,

Jay
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:50 EDT