From: garciaale Date: Wed, 31 Mar 2021 14:23:02 +0000 (-0300) Subject: Fixes bug 1489 by adding inline cloud-init to SOL006 VDUs X-Git-Tag: release-v11.0-start~4 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=2ab6e9bea9c5eb7a7cd4324c7e24dc424cf89678;p=osm%2FIM.git Fixes bug 1489 by adding inline cloud-init to SOL006 VDUs Change-Id: I881ecc20be02788f16aa9fdf9592523ae6840098 Signed-off-by: garciaale --- diff --git a/osm_im/im_translation.py b/osm_im/im_translation.py index 466026c..8abf942 100644 --- a/osm_im/im_translation.py +++ b/osm_im/im_translation.py @@ -269,6 +269,8 @@ def _add_im_vdus_to_sol006_vnfd(im_vnfd, sol006_vnfd): vdu_descriptor["name"] = vdu["name"] if vdu.get("cloud-init-file"): vdu_descriptor["cloud-init-file"] = vdu["cloud-init-file"] + if vdu.get("cloud-init"): + vdu_descriptor["cloud-init"] = vdu["cloud-init"] if vdu.get("supplemental-boot-data"): vdu_descriptor["supplemental-boot-data"] = vdu["supplemental-boot-data"] if vdu.get("alarm"):