Last active
December 3, 2019 14:36
-
-
Save thebiss/3097cba6cd83e071357ab926f2a65678 to your computer and use it in GitHub Desktop.
RancherOs v1.5.4 on pfSense v2.4.4. Requires grub2-bhyve-0.40_4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
grub-bhyve -r host -M 1024 -d . -m device.map rancherOs1 < grub.cfg | |
grub_exit=$? | |
if [ $grub_exit -ne 0 ] ; then | |
echo "Not starting. grub exited code ${grub_exit}" | |
fi | |
bhyve -A -H -w -c 2 -m 1024 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio -s 4,virtio-net,tap0 -s 31:0,ahci-cd,rancheros.iso rancherOs1 | |
bhyvectl --destroy --vm=rancherOs1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(cd0) /root/vms/rancheros/rancheros.iso |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linux (cd0)/boot/vmlinuz-4.14.138-rancher rancher.password=docker rancher.autologin=tty1 rancher.autologin=ttyS0 rancher.autologin=ttyS1 console=tty1 console=ttyS0 console=ttyS1 printk.devkmsg=on panic=10 | |
initrd (cd0)/boot/initrd-v1.5.4 | |
boot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment