mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Make shellcheck happy
This commit is contained in:
parent
1423b272c3
commit
743b051526
1 changed files with 2 additions and 0 deletions
2
quickemu
2
quickemu
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue