Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/bin/scenario.sh
Original file line number Diff line number Diff line change
Expand Up @@ -591,14 +591,14 @@ remove_vm() {
# Remove the pool directory
# ShellCheck: Using "${var:?}" to ensure this never expands to '/*'
rm -rf "${VM_DISK_BASEDIR:?}/${vm_pool_name}"

# Remove the info file so something processing the VMs does not
# assume the file exists. This is most useful in a local setting.
rm -rf "${SCENARIO_INFO_DIR}/${SCENARIO}/vms/${vmname}"
else
# Remove VM disk files
rm -f "${VM_DISK_BASEDIR}/${vm_pool_name}/*"
fi

# Remove the info file so something processing the VMs does not
# assume the file exists. This is most useful in a local setting.
rm -rf "${SCENARIO_INFO_DIR}/${SCENARIO}/vms/${vmname}"
}

# Configure the firewall in the VM based on the instructions in the documentation.
Expand Down