Skip to content

Instantly share code, notes, and snippets.

@bachmanity1
Created March 10, 2026 08:55
Show Gist options
  • Select an option

  • Save bachmanity1/5bf9a6aa98091956900a89cf2ddb0fcd to your computer and use it in GitHub Desktop.

Select an option

Save bachmanity1/5bf9a6aa98091956900a89cf2ddb0fcd to your computer and use it in GitHub Desktop.
Run ceph-v2-manage.sh cleanup for each host
#!/bin/bash
set -euo pipefail
for h in "$@"; do
echo "=== Cleanup: ${h}.n3r ==="
./ceph-v2-manage.sh cleanup -l "${h}.n3r" -p ceph-v2 --skip-check -v
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment