Created
March 22, 2017 13:35
-
-
Save OriPekelman/a77760ea59e59c2481ea46b39dfd0a5b to your computer and use it in GitHub Desktop.
This file contains 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 | |
KERNEL="/Users/oripekelman/Sites/xhyve-platform/tmp/cd/install.386/vmlinuz" | |
INITRD="initrd.img" | |
CMDLINE="modules=sd-mod,ext4,console quiet console=ttyS0 acpi=on" | |
MEM="-m 1G" | |
NET="-s 2:0,virtio-net" | |
IMG_HDD="-s 4,virtio-blk,hdd.img" | |
PCI_DEV="-s 0:0,hostbridge -s 31,lpc" | |
LPC_DEV="-l com1,stdio" | |
ACPI="-A" | |
# Linux | |
xhyve $ACPI $MEM $SMP $PCI_DEV $LPC_DEV $NET $IMG_CD $IMG_HDD $UUID -f kexec,$KERNEL,$INITRD,"$CMDLINE" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment