Probably

OpenSolaris 2009.06 AI install with ISC DHCPd

by Mark on Nov.30, 2009, under solaris

I’ve been looking at OpenSolaris a lot more of late, and in particular I’ve been trying to work with AI, the Automated Installer.

AI replaces what we’ve all come to know and love, JumpStart.

There are a couple of issues with AI at the moment, from my own point of view.

1) The documentation constantly alludes to using Sun’s DHCP server. Pretty much any established company one is ever likely to work in will not be using Sun’s DHCP server.

2) All the configuration information is done with XML.

The point of this post is to address the former – the latter can be saved for a rant on another day.

When you create an AI install service, don’t bother with the DHCP information. Just run a la

installadm create-service -s /export/aiimages/osol-0906-ai-x86.iso -n 0906×86 /export/aiserver/osol-0906-ai-x86

Then, in your own DHCP server, use the statements commonly used for setting up PXE boot. For me, this is ISC’s DHCPd, and in this particular case the very old version 2 (I’m doing AI testing in VMware – I run up the images in the NAT network of VMware fusion and hack the dhcpd.conf for vmnet8). Here’s the snippet from my dhcpd.conf

host osolai {
 hardware ethernet 00:0c:29:bf:9d:b8;
 next-server 172.16.152.11;
 filename "pxegrub.I86PC.OpenSolaris-1";
}

The next-server here is another virtual, this time running my OpenSolaris 2009.06 install server. The filename is dished up from tftp, and you can see yours in /tftpboot (the -1 may be different).

Simple – now you’ll get a PXEgrub menu when you boot the VM for the first time.

:, , , ,

1 comment for this entry:

  • rob

    Nice work. Was just about to start this, when my friendly windows manager offered to do the install on my behalf. Well he is doing RHEL 5.2 on vm guest, and seems happy to follow with Solaris X86 ;)
    Rob Stannard

Trackbacks / Pingbacks

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it.

Visit our friends

A few highly recommended friends...