9 lines
219 B
Bash
Executable File
9 lines
219 B
Bash
Executable File
#!/bin/bash
|
|
|
|
RUNNING_CONTAINERS="$(incus list -f compact -c n | sed 's/NAME//g' | sed 's/ //g' | awk 'NF')"
|
|
|
|
for container in $RUNNING_CONTAINERS; do
|
|
echo "Removing $container..."
|
|
incus delete $container --force
|
|
done
|