diff --git a/hackfest_multivdu_vnf/cloud_init/.gitkeep b/hackfest_multivdu_vnf/cloud_init/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/hackfest_multivdu_vnf/cloud_init/cloud-config.txt b/hackfest_multivdu_vnf/cloud_init/cloud-config.txt new file mode 100644 index 0000000000000000000000000000000000000000..e22d345c183842dfd2f6a03b28040ce70f72c5b3 --- /dev/null +++ b/hackfest_multivdu_vnf/cloud_init/cloud-config.txt @@ -0,0 +1,12 @@ +#cloud-config +password: osm4u +chpasswd: { expire: False } +ssh_pwauth: True + +write_files: +- content: | + # My new helloworld file + + owner: root:root + permissions: '0644' + path: /root/helloworld.txt diff --git a/hackfest_multivdu_vnf/hackfest_multivdu_vnfd.yaml b/hackfest_multivdu_vnf/hackfest_multivdu_vnfd.yaml index dc3563c33333a66652f9dbe4b6008b973311239f..37df72010ad6bd89169ea8db9f5d307d42210fcd 100644 --- a/hackfest_multivdu_vnf/hackfest_multivdu_vnfd.yaml +++ b/hackfest_multivdu_vnf/hackfest_multivdu_vnfd.yaml @@ -21,7 +21,7 @@ vnfd-catalog: vdu: - id: mgmtVM name: mgmtVM - image: US1604 + image: ubuntu16.04 count: 1 vm-flavor: vcpu-count: 1 @@ -42,9 +42,10 @@ vnfd-catalog: internal-connection-point-ref: mgmtVM-internal internal-connection-point: - id: mgmtVM-internal + cloud-init-file: cloud-config.txt - id: dataVM name: dataVM - image: US1604 + image: ubuntu16.04 count: 1 vm-flavor: vcpu-count: 1 @@ -65,4 +66,5 @@ vnfd-catalog: external-connection-point-ref: vnf-data internal-connection-point: - id: dataVM-internal + cloud-init-file: cloud-config.txt