create -b
set zonepath=/zones/vmname
set brand=bhyve
set autoboot=false
set ip-type=exclusive
add fs
set dir="/vm/iso"
set special="/vm/iso"
set type="lofs"
add options ro
add options nodevices
end
add net
set physical="vmnamel0"
end
add device
set match="/dev/zvol/rdsk/rpool/vm/vmnamed0"
end
add attr
set name="bootdisk"
set type="string"
set value="rpool/vm/vmnamed0"
end
add attr
set name="acpi"
set type="string"
set value="off"
end
add attr
set name="ram"
set type="string"
set value="12G"
end
add attr
set name="vcpus"
set type="string"
set value="4"
end
add attr
set name="cdrom"
set type="string"
set value="/vm/iso/vmname-seed.iso"
end