change cirros to use a name instead of full path
[osm/devops.git] / src / vnfd / ubuntu_xenial_vnf / ubuntu_xenial_vnfd.yaml
index c15ef1b..8fd61d9 100644 (file)
@@ -30,6 +30,9 @@ vnfd:vnfd-catalog:
             # Image including the full path
             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
             # There can be multiple interfaces defined
@@ -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