1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

development: add unknown to poweroff from monitor

This commit is contained in:
Ruben S. Montero 2018-11-10 17:39:20 +01:00
parent d6949cf260
commit 9432226f97

View File

@ -1149,7 +1149,8 @@ void LifeCycleManager::monitor_poweroff_action(int vid)
return;
}
if ( vm->get_lcm_state() == VirtualMachine::RUNNING )
if ( vm->get_lcm_state() == VirtualMachine::RUNNING ||
vm->get_lcm_state() == VirtualMachine::UNKNOWN )
{
//----------------------------------------------------
// POWEROFF STATE