pushzshconfig 11.06.2017 00:15
This commit is contained in:
parent
fb7fbfa513
commit
c201428245
|
@ -46,7 +46,8 @@ vm()
|
||||||
-cpu host -enable-kvm -machine type=pc,accel=kvm -smp 4 \
|
-cpu host -enable-kvm -machine type=pc,accel=kvm -smp 4 \
|
||||||
-m 4096 \
|
-m 4096 \
|
||||||
-drive file=$filename,if=virtio \
|
-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
|
-boot order=n
|
||||||
|
|
||||||
elif [ $option = "start" ]; then
|
elif [ $option = "start" ]; then
|
||||||
|
@ -61,7 +62,8 @@ vm()
|
||||||
-cpu host -enable-kvm -machine type=pc,accel=kvm -smp 4 \
|
-cpu host -enable-kvm -machine type=pc,accel=kvm -smp 4 \
|
||||||
-m 4096 \
|
-m 4096 \
|
||||||
-drive file=$filename,if=virtio \
|
-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
|
-boot order=n
|
||||||
elif [ $option = "low" ]; then
|
elif [ $option = "low" ]; then
|
||||||
sudo qemu-system-x86_64 -vga std \
|
sudo qemu-system-x86_64 -vga std \
|
||||||
|
|
Reference in New Issue