fix: Use the correct ethernet device for bridged networking (#1588)

This commit is contained in:
Luke Yelavich 2025-02-11 19:26:25 +11:00
parent 9f90d46ea1
commit a341059ab3
1 changed files with 1 additions and 1 deletions

View File

@ -1365,7 +1365,7 @@ function vm_boot() {
fi
# shellcheck disable=SC2054,SC2206
args+=(-nic bridge,br=${network},model=virtio-net-pci${MAC})
args+=(-nic bridge,br=${network},model=${NET_DEVICE}${MAC})
else
echo " - Network: User (${NET_DEVICE})"
# shellcheck disable=SC2054,SC2206