BCVK-LIBVIRT-RM-ALL(8)
π BCVK-LIBVIRT-RM-ALL π
okay bestie, so this one lives in section 8 of the manual (that's the bcvk-libvirt-rm-all(8) page, iykyk) and it's literally the "clean out the whole closet" button for your libvirt domains. π§Ήβ¨
β¨ NAME β¨
bcvk-libvirt-rm-all β Remove multiple libvirt domains and their resources π«Ά
πΈ SYNOPSIS πΈ
bcvk libvirt rm-all [OPTIONS]
like. that's it. that's the whole vibe. π
π¦ DESCRIPTION π¦
Remove multiple libvirt domains and their resources.
fr fr, it's a bulk delete. not one domain at a time β multiple. and it doesn't just yeet the domain itself, it takes the resources with it too. spring cleaning but make it terminal. π
π OPTIONS π
-f,--forceβ Force removal without confirmation. no "are you sure π₯Ί" popup, no second-guessing, it just goes. main character energy, but also: careful.--stopβ Remove domains even if they're running. yes bestie, even the ones that are up and living their best life. they get stopped. π--label=LABELβ Filter domains by label (only remove domains with this label). so you can be surgical about it instead of nuking everything you own. only the domains carrying that exactLABELget the β¨treatmentβ¨.
π EXAMPLES π
Remove all stopped libvirt VMs (will prompt for confirmation):
bcvk libvirt rm-all
Remove all VMs without confirmation:
bcvk libvirt rm-all --force
Remove all VMs including running ones:
bcvk libvirt rm-all --stop --force
Remove all VMs with a specific label:
bcvk libvirt rm-all --label environment=test --force
Clean up test environment workflow:
# Create some test VMs
bcvk libvirt run --name test1 --label purpose=testing quay.io/fedora/fedora-bootc:42
bcvk libvirt run --name test2 --label purpose=testing quay.io/fedora/fedora-bootc:42
# Clean up only the test VMs
bcvk libvirt rm-all --label purpose=testing -f
the way that last one is SO satisfying β you label your little test babies, you play with them, and then you scoop up only the ones tagged purpose=testing and send them home. the rest of your VMs don't even notice. that's the dream. π
heads up bestie: --force means no confirmation prompt. that's not a cute lil warning, that's just what it is. read twice, run once. π
π SEE ALSO π
β VERSION β
v0.21.0
okay that's the whole page, you ate that. π this was bcvk-libvirt-rm-all from the bcvk manual, version v0.21.0 β go forth, label responsibly, and don't --force anything you're gonna miss. bye bestie!! πβ¨π
π¦ where this page comes from
- fedora 43: bcvk 0.21.0-1.fc43 Β· Apache-2.0 OR MIT
- fedora 44: bcvk 0.21.0-1.fc44 Β· Apache-2.0 OR MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms