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:
commit
cccd99d103
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user