aboutsummaryrefslogtreecommitdiff
path: root/remove-machine
diff options
context:
space:
mode:
Diffstat (limited to 'remove-machine')
-rwxr-xr-xremove-machine4
1 files changed, 3 insertions, 1 deletions
diff --git a/remove-machine b/remove-machine
index febfac5..13ce31f 100755
--- a/remove-machine
+++ b/remove-machine
@@ -83,7 +83,9 @@ sv=($(ssh "$host" "shopt -s nullglob; echo $machines/$mname/$mname-*/"))
for d in "${sv[@]}"; do
set -x
- ssh "$host" btrfs property set -ts "$d" ro false
+ # See upload-machine on the -f (force) flags.
+ #
+ ssh "$host" btrfs property set -f -ts "$d" ro false
ssh "$host" btrfs subvolume delete "$d"
{ set +x; } 2>/dev/null
done