Add cloud init to Ubuntu VNF
[osm/devops.git] / src / vnfd / ubuntu_xenial_vnf / ubuntu_xenial_vnfd.yaml
index 5d6ca2c..8fd61d9 100644 (file)
@@ -28,7 +28,10 @@ vnfd:vnfd-catalog:
                 storage-gb: 10
 
             # Image including the full path
-            image: '/mnt/powervault/virtualization/vnfs/demos/ubuntu/ubuntu-16.06.img'
+            image: '/mnt/powervault/virtualization/vnfs/demos/ubuntu/ubuntu-16.04.img'
+
+            # User-data injection
+            cloud-init-file: cloud_init.cfg
 
             external-interface:
             # Specify the external interfaces
@@ -39,15 +42,7 @@ vnfd:vnfd-catalog:
                     bandwidth: '0'
                     vpci: 0000:00:0a.0
                 vnfd-connection-point-ref: eth0
-            -   name: eth1
-                virtual-interface:
-                    type: VIRTIO
-                    bandwidth: '0'
-                    vpci: 0000:00:0b.0
-                vnfd-connection-point-ref: eth1
 
         connection-point:
             -   name: eth0
                 type: VPORT
-            -   name: eth1
-                type: VPORT