Manipulating ZFS filesystems during Jumpstart install
By default, when you build a server with a ZFS root pool in Jumpstart, it creates two additional ZFS file systems within the root pool, rpool/export and rpool/export/home. I personally have no use for these. So to delete them, add this to your finish script:
/usr/sbin/zfs destroy -r rpool/export
There's no need to chroot first!
If you want to create a new ZFS filesystem, within the root pool, you can add this to the finish script:
/usr/sbin/zfs create -o mountpoint=/home rpool/home
and Bob's your mothers brother! Again, there is no need to chroot when you do this!