This is an old revision of the document!
Here's a decent guide: building in a zone
echo | format
(look for disk and name) zpool create poolname diskname
zpool create zonepool c2t1d0
zfs create -o compression=on -o mountpoint=/zones zonepool/zones zfs create -o sync=disabled -o atime=off zonepool/zones/oidev
zoneadm -z oibld install
=== Initialize the zone's basic local config ===
* Make the zone “ready”: zoneadm -z oibld ready
* Populate the zone's sysidcfg: <code>cat «EOF > /zones/oidev/oibld/root/etc/sysidcfg
terminal=xterms
network_interface=PRIMARY {dhcp protocol_ipv6=no}
security_policy=none
name_service=NONE
nfs4_domain=dynamic
timezone=UTC
root_password=NP
EOF</code>
Boot the zone with: zoneadm -z oibld boot
Log into the zone with: zlogin -C oibld
Change the root password to blank (by hitting return twice for password)
=== Set up DNS ===
* Populate /etc/resolv.conf and chown it to netadm:netadm
* Change the hosts line in /etc/nsswitch.conf (add “dns” after “files”)