Skip to content

Instantly share code, notes, and snippets.

@OriPekelman OriPekelman/xhyve
Created Mar 22, 2017

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.