Commit 4b9e725f authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#112] removes hybernated failed domains

parent 763727df
......@@ -177,6 +177,10 @@ sub _remove_old_domains_kvm {
}
if $domain->is_active;
warn "WARNING: error $@ trying to shutdown ".$domain->get_name if $@;
$domain->managed_save_remove()
if $domain->has_managed_save_image();
eval { $domain->undefine };
warn $@ if $@;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment