david/myzsh
david
/
myzsh
Archived
1
0
Fork 0

pushzshconfig 11.06.2017 00:13

This commit is contained in:
david 2017-06-11 00:13:35 +02:00
parent fbf0921688
commit fb7fbfa513
1 changed files with 6 additions and 5 deletions

View File

@ -54,7 +54,8 @@ vm()
-cpu host -enable-kvm -machine type=pc,accel=kvm -smp 4 \
-m 4096 \
-drive file=$filename,if=virtio \
-net nic -net bridge,br=br0,mac=$(genmac.sh)
-net nic,macaddr=$(genmac.sh) \
-net bridge,br=br0
elif [ $option = "net" ]; then
sudo qemu-system-x86_64 -vga virtio -display sdl,gl=on \
-cpu host -enable-kvm -machine type=pc,accel=kvm -smp 4 \
@ -67,15 +68,15 @@ vm()
-cpu host -enable-kvm -machine type=pc,accel=kvm -smp 4 \
-m 4096 \
-drive file=$filename,if=virtio \
-net nic -net bridge,br=br0,mac=$(genmac.sh) \
-boot order=n
-net nic,macaddr=$(genmac.sh) \
-net bridge,br=br0
elif [ $option = "nofb" ]; then
sudo qemu-system-x86_64 -nographic -curses \
-cpu host -enable-kvm -machine type=pc,accel=kvm -smp 4 \
-m 4096 \
-drive file=$filename,if=virtio \
-net nic -net bridge,br=br0,mac=$(genmac.sh)
-net nic,macaddr=$(genmac.sh) \
-net bridge,br=br0
else
echo "option unknown"
fi