From 12deae8afd602d93fc08f08c7e7b5e6f3e3e2300 Mon Sep 17 00:00:00 2001 From: garciaale Date: Wed, 31 Mar 2021 11:23:02 -0300 Subject: [PATCH] Fixes bug 1489 by adding inline cloud-init to SOL006 VDUs Change-Id: I881ecc20be02788f16aa9fdf9592523ae6840098 Signed-off-by: garciaale --- osm_im/im_translation.py | 2 ++ 1 file changed, 2 insertions(+) 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"): -- 2.25.1