diff options
Diffstat (limited to 'home/.vm/Makefile')
-rw-r--r-- | home/.vm/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/home/.vm/Makefile b/home/.vm/Makefile index 3e0b8d6..651ffe6 100644 --- a/home/.vm/Makefile +++ b/home/.vm/Makefile @@ -1,12 +1,12 @@ .POSIX: -VM="fedora.img" +VM=fedora CPU=-smp 4 MEM=-m 4G DISP=-display none run: @qemu-system-x86_64 -enable-kvm $(CPU) $(MEM) -drive\ - file=$(VM),format=raw $$([ -z $(CDR) ]|| echo -cdrom $(CDR) -boot\ - d) $$(echo -n "-net user"; for port in $(PORTS); do echo -n\ + file=$(VM).img,format=raw $$([ -z $(CDR) ]|| echo -cdrom $(CDR)\ + -boot d) $$(echo -n "-net user"; for port in $(PORTS); do echo -n\ ",hostfwd=tcp::$${port}-:$${port}"; done;) $(DISP) -net nic |