Make shellcheck happy

This commit is contained in:
Martin Wimpress 2021-11-13 15:56:36 +00:00
parent 1423b272c3
commit 743b051526
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -835,6 +835,7 @@ function vm_boot() {
if [ -n "${bridge}" ]; then
# Enable bridge mode networking
# shellcheck disable=SC2054,SC2206
args+=(-nic bridge,br=${bridge},model=virtio-net-pci)
else
# shellcheck disable=SC2054,SC2206
@ -909,6 +910,7 @@ function vm_boot() {
args+=(-device ide-hd,drive=SystemDisk,bus=ahci.0,bootindex=0
-drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}" ${STATUS_QUO})
else
# shellcheck disable=SC2054,SC2206
args+=(-device virtio-blk-pci,drive=SystemDisk
-drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}" ${STATUS_QUO})
fi