10 lines
204 B
Bash
Executable file
10 lines
204 B
Bash
Executable file
#!/bin/sh -ex
|
|
name="$(basename "$0")"
|
|
qemu-system-x86_64 \
|
|
-monitor stdio -enable-kvm \
|
|
-cpu host -smp "$(("$(nproc)" / 2))" \
|
|
-m 8G \
|
|
-hda "images/${name}.qcow2" \
|
|
-net nic \
|
|
-name "$name" \
|
|
"$@"
|