machyve / xhyve

xhyve, a lightweight OS X virtualization solution
Other
6.44k stars 354 forks source link

Trying to run sudo ./xhyverun-freebsd.sh just results in usage output #159

Closed ghost closed 5 years ago

ghost commented 5 years ago

When I try and run sudo ./xhyverun-freebsd.sh all I get is the standard Usage output for xhyve. Contents of file is like so which is simply as it came with iso and dmg path added:

#!/bin/sh

BOOTVOLUME="/Users/<username>/VMs/FreeBSD.dmg"
IMG="/Users/<username>/OS\ ISOs/FreeBSD-12.0-RELEASE-amd64-dvd1.iso"

build/xhyve \
    -A \
    -c 2 \
    -m 2G \
    -s 0:0,hostbridge \
    -s 2:0,virtio-net \
    -s 3:0,ahci-cd,$BOOTVOLUME \
    -s 4:0,virtio-blk,$IMG \
    -s 31,lpc \
    -l com1,stdio \
    -f fbsd,test/userboot.so,$BOOTVOLUME,""
ghost commented 5 years ago

Nevermind I am an idiot, changed the space in OS ISOs directory.