`<div dir="ltr">If this works, it has saved me a long time in figuring out the Kayak setup. Thanks!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 9:51 PM, Paul B. Henson <span dir="ltr"><<a href="mailto:henson@acm.org" target="_blank">henson@acm.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">While the recommended way to customize rpool configuration is to utilize a network install with kayak, putting together a complete dhcp/tftp/http network install environment is a bit overkill for installing one box or doing some testing.<br>
<br>
So, instead I hacked together a little perl script (attached) that interposes itself between the installer and the zpool creation allowing some basic customizations while doing an iso install.<br>
<br>
Boot the installer media, and pick option 3/shell prior to beginning the install. Get the attached script into /tmp one way or another (light up the network interface and suck it over with wget, for example) and make it executable. Run it, and it will copy the zpool/zfs binaries into /tmp and install itself in their place with an overlay mount.<br>
<br>
Edit the script to configure what customizations you might want to make. The first option is if you want to use less than the entire disk for the rpool. If enabled, s0 on the installation device will be modified to the size specified. The second option allows you to provide any arbitrary zpool options to the zpool create (for example, to enable compression). The last two options allow you to specify the size of swap/dump explicitly rather than using the installer generated values.<br>
<br>
Exit the shell and go back to the installer, and start the installation. Proceed through as normal, and when it is done, the created rpool should include the customizations you picked…<br>
<br>
If there's any interest, I could add this to the installation section of the wiki; unless it's deemed too kludgy to advertise ;).<br>
<br>_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
<br></blockquote></div><br></div>
`