mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9041: Modifying template creation from snapshot function in base.py
This commit is contained in:
parent
3ded3e9000
commit
bbe0fc4be9
|
|
@ -1201,6 +1201,9 @@ class Template:
|
|||
random_gen()
|
||||
]) if random_name else services["name"]
|
||||
|
||||
if services["ispublic"]:
|
||||
cmd.ispublic = services["ispublic"]
|
||||
|
||||
if "ostypeid" in services:
|
||||
cmd.ostypeid = services["ostypeid"]
|
||||
elif "ostype" in services:
|
||||
|
|
|
|||
Loading…
Reference in New Issue