From bbe0fc4be9527d51820b067a602886003991db4d Mon Sep 17 00:00:00 2001 From: Priti Sarap Date: Fri, 6 Nov 2015 14:36:32 +0530 Subject: [PATCH] CLOUDSTACK-9041: Modifying template creation from snapshot function in base.py --- tools/marvin/marvin/lib/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py index 54922c84ed3..f98d723ef14 100755 --- a/tools/marvin/marvin/lib/base.py +++ b/tools/marvin/marvin/lib/base.py @@ -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: