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 \