We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40c685 commit f859990Copy full SHA for f859990
crates/kit/src/libvirt/rm.rs
@@ -97,11 +97,11 @@ pub fn run(global_opts: &crate::libvirt::LibvirtOptions, opts: LibvirtRmOpts) ->
97
}
98
99
100
- // Remove libvirt domain with nvram
+ // Remove libvirt domain with nvram and storage
101
println!(" Removing libvirt domain...");
102
let output = global_opts
103
.virsh_command()
104
- .args(&["undefine", &opts.name, "--nvram"])
+ .args(&["undefine", &opts.name, "--nvram", "--remove-all-storage"])
105
.output()
106
.with_context(|| "Failed to undefine libvirt domain")?;
107
0 commit comments