|
|
@ -864,11 +864,7 @@ function vm_boot() { |
|
|
|
-monitor none |
|
|
|
-monitor none |
|
|
|
-serial mon:stdio) |
|
|
|
-serial mon:stdio) |
|
|
|
|
|
|
|
|
|
|
|
# re-instate old fix for #115 |
|
|
|
if [ -n "${bridge}" ]; then |
|
|
|
if [ "${guest_os}" == "windows" ] && [ -n "${iso}" ]; then |
|
|
|
|
|
|
|
args+=(-nic none) |
|
|
|
|
|
|
|
elif [ -n "${bridge}" ]; then |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Enable bridge mode networking |
|
|
|
# Enable bridge mode networking |
|
|
|
# shellcheck disable=SC2054,SC2206 |
|
|
|
# shellcheck disable=SC2054,SC2206 |
|
|
|
args+=(-nic bridge,br=${bridge},model=virtio-net-pci) |
|
|
|
args+=(-nic bridge,br=${bridge},model=virtio-net-pci) |
|
|
|