Hi,
comming to this thread late...

I like the idea of using dhcp for the preseed.

I think the neatest way to do it is vendor encapsulated options...

pxelinux uses them...

extract from dhcpd.conf:
        #info from pxelinux.doc
        option space pxelinux;
        option pxelinux.magic      code 208 = string;
        option pxelinux.configfile code 209 = text;
        option pxelinux.pathprefix code 210 = text;
        option pxelinux.reboottime code 211 = unsigned integer 32;


Suns solaris installer uses them:

extract from dhcpd.conf:
        ## INFO FROM http://docs.sun.com/db/doc/806-4075/6jd69oa8p?a=view
        option space SUNW;
        option SUNW.SrootOpt  code  1 = text;
        option SUNW.SrootIP4  code  2 = ip-address;
        option SUNW.SrootNM   code  3 = text;
        option SUNW.SrootPTH  code  4 = text;
        option SUNW.SswapIP4  code  5 = ip-address;
        option SUNW.SswapPTH  code  6 = text;
        option SUNW.SbootFIL  code  7 = text;
        option SUNW.Stz       code  8 = text;
        #option SUNW.SbootRS   code  9 = uint32;
        option SUNW.SinstIP4  code 10 = ip-address;
        option SUNW.SinstNM   code 11 = text;
        option SUNW.SinstPTH  code 12 = text;
        option SUNW.SsysidCF  code 13 = text;
        option SUNW.SjumpsCF  code 14 = text;
        option SUNW.Sterm     code 15 = text;

        host homer {
            hardware ethernet 00:00:00:00:00:00 ;
            fixed-address homer.my.com;
            filename "inetboot9.sun4u";
            vendor-option-space SUNW;
                option SUNW.SbootFIL  "inetboot.sun4u";
                option SUNW.SrootIP4  boot.my.com;
                option SUNW.SrootNM   "boot.my.com";
                option SUNW.SrootPTH  "/var/netboot/sol9boot";
                option SUNW.SinstIP4  boot.my.com;
                option SUNW.SinstNM   "boot.my.com";
                option SUNW.SinstPTH  "/var/netboot/sol9boot";
                option SUNW.SsysidCF  
"boot.my.com:/var/netboot/sysidcfg.d/homer";
        }


In fact the option SUNW.SsysidCF is pritty much the Sun equiivilent to
what we want...


Alex Owen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to