mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-04 22:21:36 +09:00
M #-: Fix DS id while resuming undeployed VM (#837)
(cherry picked from commit 05e235cde3)
This commit is contained in:
1 parent
668d6346c9
commit
cfbfbf48ad
2 files changed
+9
-5
No files matched your search
@@ -878,7 +878,10 @@ void VirtualMachineDeploy::request_execute(xmlrpc_c::paramList const& paramList,
|
||||
vm->get_action() == VMActions::UNDEPLOY_ACTION ||
|
||||
vm->get_action() == VMActions::UNDEPLOY_HARD_ACTION))
|
||||
{
|
||||
ds_id = vm->get_ds_id();
|
||||
if (ds_id == -1)
|
||||
{
|
||||
ds_id = vm->get_ds_id();
|
||||
}
|
||||
|
||||
check_nic_auto = false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user