machyve / xhyve

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

Does xhyve have a headless mode? #56

Closed c4milo closed 9 years ago

jbergstroem commented 9 years ago

Thinking that you probably don't want to add the serial device and push stdout to it?

c4milo commented 9 years ago

Sure, why not. I actually tried what people have been doing with bhyve to achieve the same, which is changing:

LPC_DEV="-l com1,stdio"

to:

LPC_DEV="-l com1"

But xhyve stops booting the image when I do that.

ailispaw commented 9 years ago

I saw the following in https://github.com/nlf/dhyve.

nohup xhyve $args,"$cmdline" </dev/null >/dev/null 2>&1 &

It might work for you.

rickard-von-essen commented 9 years ago

Does xhyve have a head mode?

xez commented 9 years ago

If you don't want serial output (to stdio or another tty) just comment out the LPC_DEV="-l com1,stdio" line altogether, works fine.

LaurentFough commented 9 years ago

Good to know.

c4milo commented 9 years ago

It seems reasonable, thanks @ailispaw.