[SUMMARY]: Jumpstart - dumping to interactive install when using name_service=DNS

From: Andrew Hall (halla3@corp.earthlink.net)
Date: Tue Feb 17 2004 - 11:57:13 EST


Greetings,

Thank you for everyones replies! I have come to the following
conclusions:

1. name_service=DNS by it self will not work. Use NIS or LDAP (One
sugestion was to use the -n option to add_install_client, I didn't try
it)
2. The name servers must be able to reverse lookup the install client.
3. The easiest solution was to put my resolv.conf in
$SI_CONFIG_DIR/Files and copy to client with a line like so in a finish
script:
cp ${SI_CONFIG_DIR}/Files/etc/resolv.conf /a/etc/

One other possible issue was that my name server was not on the same
subnet as my install client. One reply stated there was an old Solaris
8 bug where nameservers on different subnets will not work.

Thanks again,

Drew

On Mon, 2004-02-16 at 18:35, John Garner wrote:
> You need both forward and reverse dns entries for it to work (you
> mentioned having the forward entry, but not the reverse)
>
> In my case, i just created a finish script that created the
> /etc/resolv.conf and smacked /etc/nsswitch.conf to save myself the trouble
>
> hope this helps
>
> --john
>
> Andrew Hall wrote:
>
> >Greetings,
> >
> >I have a jumpstart server running solaris 8. I have configured
> >jumpstart and if I use name_service=NONE in my sysidcfg I can install
> >solaris unattended, but if I use name_service=DNS no matter what I do
> >the install dumps to an interactive install.
> >
> >I have searched the archives and found at least one person that required
> >a Finish script so I created one that just echo's text, updated the
> >rules file, ran check, restarted install - no go. I also found in the
> >archives a mention of the client's defined DNS server having to resolve
> >itself, so I verified DNS is working for my client hostname, testbox,
> >with each of the nameservers defined in my sysidcfg.
> >
> >Does anyone have any suggestions on how to debug this? I am not seeing
> >any errors being displayed to the console.
> >
> >My configuration is described below (I have pulled some details from the
> >below output and replaced with 'x'. My config does not have the x's in
> >it :):
> >
> >Jumpstart server name - jumpstart
> >Jumpstart client name - testbox
> >/etc/ethers: 8:0:20:c1:b9:f4 testbox
> >/etc/hosts : 199.x.x.185 testbox
> >/jumpstart/rules:
> >hostname testbox - Profiles/basic.profile Finish/test_finish.sh
> >
> >/jumpstart/Sysidcfg/Solaris_8/sysidcfg:
> >system_locale=en_US
> >timezone=US/Eastern
> >network_interface=primary {netmask=255.255.255.0 default_route=199.x.x.1
> >protocol_ipv6=no}
> >terminal=vt100
> >security_policy=NONE
> >root_password=REMOVED - shadow pw
> >timeserver=localhost
> >name_service=DNS {domain_name=a.b.earthlink.net
> > name_server=207.x.x.185,207.x.x.186,207.x.x.187
> > search=a.b.earthlink.net,c.b.earthlink.net}
> >
> >/jumpstart/Finish/test_finish.sh
> >#!/bin/sh
> >echo "Testing Finish Scripts"
> >
> >add_install_client output:
> >bash-2.03# pwd
> >/jumpstart/OS/Solaris_8_2003-07/Solaris_8/Tools
> >bash-2.03# ./add_install_client -c jumpstart:/jumpstart -p
> >jumpstart:/jumpstart/Sysidcfg/Solaris_8 testbox sun4u
> >cleaning up preexisting install client "testbox"
> >removing testbox from bootparams
> >removing /tftpboot/inetboot.SUN4U.Solaris_8-1
> >removing /tftpboot
> >disabling tftp in /etc/inetd.conf
> >making /tftpboot
> >enabling tftp in /etc/inetd.conf
> >updating /etc/bootparams
> >copying inetboot to /tftpboot
> >bash-2.03#
> >
> >Thanks in advance,
> >
> >Andrew
> >_______________________________________________
> >sunmanagers mailing list
> >sunmanagers@sunmanagers.org
> >http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
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:28:04 EDT