Hi All, I setup a DHCP server following the Solaris Express Documentation. Then modified it to support my needs of different clients installing different versions of Solaris. Following the instructions I included these options in my DHCP macros:
SrootIP SrootNM SrootPTH SrootRS SrootOpt SinstIP SinstNM SinstPTH SsysidCF SjumpsCF I haven't been able to get my x86 clients to pay any attention to these options though. Another poster on this list mentioned that he had this working late last yer/early this year but it broke when 'newboot' was integrated? Why is it broken. When booted to the miniroot dhcpinfo can look up all these options, so it's not that it's not available. Is this considered a bug? Is there an ID? Where would I look to fix it? Is /sbin/install-discovery the right place? On SPARC I've read in the manuals, the you need to 'boot net - install dhcp' for the install boot process to look to DHCP for this info. I tried adding 'dhcp' after 'install' in my grub menu.lst file, but that didn't work either. I really like getting everything I used to put in bootparams and ethers into one place in DHCP. I've even added a Site Option for the Grub menu file (code 150), and another that will allow me to consolidate of my jumpstart config info there also. That brings me to another issue (bug?) with dhcpinfo/miniroot: I understand why dhcpinfo can only respond to text option names if they are in /etc/dhcp/inittab. But dhcpinfo command line also accepts the numeric option code directly. Why can't I ask it to lookup the code even when the option isn't in /etc/dhcp/inittab? This is making it hard for my Begin.sh and Finish.sh scripts to lookup the values for my site options. Right now I have to run: mount -o remount,rw / echo "JShostCF SITE, 130, ASCII, 1, 0, sdmi" >> /etc/dhcp/inittab I know on X86 I could un/repack the miniroot and make the change permanent, but I'd rather not have to make this change over and over again. Isn't the fact that an option is ASCII included in the response? If not, then can a cmdline option be added to dhcpinfo so that I can supply on the command line, either a replacement to /etc/dhcp/inittab, or the other info about the option that it needs. Something like this: dhcpinfo -F /tmp/dhcp_inittab JShostCF or dhcpinfo -T "130, SITE, ASCII,1,0,sdmi" JShostCF On SPARC this is even worse, because I won't be able to remount / 'rw', since on SPARC it's shared from the BootServer RO. That means I can't even replace /etc/dhcp/inittab with a link to /tmp/dhcp_inittab. If none of these are possible, can the X86 miniroot, and the SPARC root image be changed so that /tmp/root/etc/dhcp/inittab is created, and /etc/dhcp/inittab is already a link to that? -Kyle
