mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-10295 Marvin: add support for password-enabled templates
This commit is contained in:
parent
6233a77d15
commit
eeba3e4853
@ -593,6 +593,10 @@ class VirtualMachine:
|
||||
|
||||
virtual_machine = apiclient.deployVirtualMachine(cmd, method=method)
|
||||
|
||||
if 'password' in virtual_machine.__dict__.keys():
|
||||
if virtual_machine.password:
|
||||
services['password'] = virtual_machine.password
|
||||
|
||||
virtual_machine.ssh_ip = virtual_machine.nic[0].ipaddress
|
||||
if startvm is False:
|
||||
virtual_machine.public_ip = virtual_machine.nic[0].ipaddress
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user