2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-04 20:40:09 +00:00

Merge pull request #1069 from daniceexi/rmvm_f

issue 1068: kvm.pm: shutdown in rmvm will not destory the node object…
This commit is contained in:
Xiaopeng Wang 2016-05-07 12:55:11 +08:00
commit cccd99d103

View File

@ -1735,7 +1735,7 @@ sub rmvm {
if ($currstate eq 'on') {
if ($force) {
$currxml = $dom->get_xml_description();
$dom->shutdown();
$dom->destroy();
} else {
xCAT::SvrUtils::sendmsg([ 1, "Cannot rmvm active guest (use -f argument to force)" ], $callback, $node);
return;