Skip to content
Open
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
4 changes: 2 additions & 2 deletions agent/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ if [[ "${AGENT_E2E_TEST_BOOT_MODE}" == "ISCSI" ]]; then
agent_remove_iscsi_disks worker $NUM_WORKERS
fi

if sudo buildah images --storage-driver vfs | grep -q "localhost/appliance-test"; then
sudo buildah rmi -f --storage-driver vfs localhost/appliance-test
if [[ -d "$(sudo buildah info --format '{{.store.GraphRoot}}')/vfs" ]] ; then
sudo buildah rmi -f --storage-driver vfs localhost/appliance-test >/dev/null 2>&1 || true
fi