From ba9a61a30291effefc3857789096f04ebd5e5ad4 Mon Sep 17 00:00:00 2001 From: Mike Tutkowski Date: Mon, 18 Apr 2016 11:56:08 -0600 Subject: [PATCH] =?UTF-8?q?CLOUDSTACK-9354=20-=20Fixing=20an=20issue=20in?= =?UTF-8?q?=20Marvin=20around=20creating=20a=20template=20from=20a=20snaps?= =?UTF-8?q?hot=20(if=20=E2=80=9Cis=20public=E2=80=9D=20is=20not=20provided?= =?UTF-8?q?,=20there=20was=20a=20problem)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/marvin/marvin/lib/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py index e2f4a2c8644..ff4513991d5 100755 --- a/tools/marvin/marvin/lib/base.py +++ b/tools/marvin/marvin/lib/base.py @@ -1201,8 +1201,8 @@ class Template: random_gen() ]) if random_name else services["name"] - if services["ispublic"]: - cmd.ispublic = services["ispublic"] + if "ispublic" in services: + cmd.ispublic = services["ispublic"] if "ostypeid" in services: cmd.ostypeid = services["ostypeid"]