From c2014282458efaa0ee290afeab8fe19aa8510c91 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 11 Jun 2017 00:15:29 +0200 Subject: [PATCH] pushzshconfig 11.06.2017 00:15 --- plugins/david.zsh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/david.zsh b/plugins/david.zsh index f0c653d..f4a9ed5 100644 --- a/plugins/david.zsh +++ b/plugins/david.zsh @@ -46,7 +46,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),mac=$(genmac.sh) \ + -net nic,macaddr=$(genmac.sh) \ + -net bridge,br=br0 \ -boot order=n elif [ $option = "start" ]; then @@ -61,7 +62,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 \ -boot order=n elif [ $option = "low" ]; then sudo qemu-system-x86_64 -vga std \