Fix a variable name in the bhyve netgraph script.
This commit is contained in:
parent
8a3855fddd
commit
8bad10eace
@ -39,9 +39,9 @@ fi
|
|||||||
|
|
||||||
function cleanup {
|
function cleanup {
|
||||||
for vm in "${vms[@]}"; do
|
for vm in "${vms[@]}"; do
|
||||||
log "Destroying bhyve vm $f"
|
log "Destroying bhyve vm $vm"
|
||||||
bhyvectl "--vm=$vm" --destroy
|
bhyvectl "--vm=$vm" --destroy
|
||||||
log "Destroyed bhyve vm $f"
|
log "Destroyed bhyve vm $vm"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
vms=()
|
vms=()
|
||||||
@ -144,7 +144,7 @@ function start_vm {
|
|||||||
|
|
||||||
# TODO: Look into using nmdm instead of stdio for serial console
|
# TODO: Look into using nmdm instead of stdio for serial console
|
||||||
if [ -n "$mount_cd" ]; then
|
if [ -n "$mount_cd" ]; then
|
||||||
additional_args+=("-s" "4,ahci-cd,$mount_cd")
|
additional_args+=("-s" "5,ahci-cd,$mount_cd")
|
||||||
fi
|
fi
|
||||||
if [ "$VNC_ENABLE" = "YES" ]; then
|
if [ "$VNC_ENABLE" = "YES" ]; then
|
||||||
additional_args+=("-s" "29,fbuf,tcp=$VNC_LISTEN,w=1920,h=1080")
|
additional_args+=("-s" "29,fbuf,tcp=$VNC_LISTEN,w=1920,h=1080")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user