From 8bad10eacef369f3003f38ea8bf09375362ae92c Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Tue, 8 Aug 2023 14:45:44 -0400 Subject: [PATCH] Fix a variable name in the bhyve netgraph script. --- ansible/roles/bhyve/files/bhyve_netgraph_bridge.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/roles/bhyve/files/bhyve_netgraph_bridge.bash b/ansible/roles/bhyve/files/bhyve_netgraph_bridge.bash index bd71972..543c424 100644 --- a/ansible/roles/bhyve/files/bhyve_netgraph_bridge.bash +++ b/ansible/roles/bhyve/files/bhyve_netgraph_bridge.bash @@ -39,9 +39,9 @@ fi function cleanup { for vm in "${vms[@]}"; do - log "Destroying bhyve vm $f" + log "Destroying bhyve vm $vm" bhyvectl "--vm=$vm" --destroy - log "Destroyed bhyve vm $f" + log "Destroyed bhyve vm $vm" done } vms=() @@ -144,7 +144,7 @@ function start_vm { # TODO: Look into using nmdm instead of stdio for serial console if [ -n "$mount_cd" ]; then - additional_args+=("-s" "4,ahci-cd,$mount_cd") + additional_args+=("-s" "5,ahci-cd,$mount_cd") fi if [ "$VNC_ENABLE" = "YES" ]; then additional_args+=("-s" "29,fbuf,tcp=$VNC_LISTEN,w=1920,h=1080")