Solved bhyve centos kickstarter


I'm wondering how I can install centos using a kickstarter file under bhyve.

The way I would normally do it is bake the ks.cfg into the iso file and edit isolinux.cfg adding
append initrd=initrd.img inst.stage2=hd:LABEL=CentOS-7 inst.ks=cdrom:/dev/cdrom:/ks.cfg
Since bhyve uses grub2 and I have no idea how to do this. Grub2 doesn't have the append command and everything I have tried has failed.

Thanks in advance.
Just had to add this to the end of the linux /vmlinuz line. Got it sorted out. Thanks.