mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-22 20:31:09 +00:00
issue 1068: kvm.pm: shutdown in rmvm will not destory the node object in kvm host, this will cause the next mkvm do nothing
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user