mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 12:22:38 +09:00
1 parent
4106e7a2e3
commit
715fcf1545
1 file changed
+1
-4
@@ -2976,10 +2976,7 @@ class VirtualMachine < Template
|
||||
end
|
||||
|
||||
def poweron
|
||||
## If need in the future, you can power on VMs from datacenter
|
||||
## dc = get_dc
|
||||
## dc.power_on_vm(@item)
|
||||
@item.PowerOnVM_Task.wait_for_completion
|
||||
@item.PowerOnVM_Task.wait_for_completion
|
||||
end
|
||||
|
||||
def is_powered_on?
|
||||
|
||||
Reference in new issue
Block a user