X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2Fns.py;h=2a7b40e686f6e67a5a0429a6f289523b1b83f3ac;hb=2b611ddf79e7e2b1c3d6f53b0e966da8a4e6a219;hp=ec0fe0ea1b97df6f348c77c52d314355781aaed4;hpb=8a5188754662c19e2471e5e7a1172a3bccea669e;p=osm%2FLCM.git diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index ec0fe0e..2a7b40e 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -145,7 +145,7 @@ class NsLcm(LcmBase): "file, must be provided in the instantiation parameters inside the " "'additionalParamsForVnf' block".format(var, vnfd["id"], vdu["id"])) template = Template(cloud_init_content) - cloud_init_content = template.render(additionalParams) + cloud_init_content = template.render(additionalParams or {}) vdu["cloud-init"] = cloud_init_content return vnfd_RO