From: chamarty Date: Tue, 17 Jan 2017 00:50:01 +0000 (+0000) Subject: Add cloud init to Ubuntu VNF X-Git-Tag: v2.0.2~6^2~11^2~5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=1888fc14b5c375b35386a9f5b3414fd4ecc4ac90;p=osm%2Fdevops.git Add cloud init to Ubuntu VNF Signed-off-by: chamarty --- diff --git a/src/vnfd/ubuntu_xenial_vnf/cloud_init/cloud_init.cfg b/src/vnfd/ubuntu_xenial_vnf/cloud_init/cloud_init.cfg new file mode 100644 index 00000000..d1c21884 --- /dev/null +++ b/src/vnfd/ubuntu_xenial_vnf/cloud_init/cloud_init.cfg @@ -0,0 +1,5 @@ +#cloud-config +password: ubuntu +chpasswd: { expire: False } +ssh_pwauth: True + diff --git a/src/vnfd/ubuntu_xenial_vnf/ubuntu_xenial_vnfd.yaml b/src/vnfd/ubuntu_xenial_vnf/ubuntu_xenial_vnfd.yaml index 908dcb0f..8fd61d9e 100644 --- a/src/vnfd/ubuntu_xenial_vnf/ubuntu_xenial_vnfd.yaml +++ b/src/vnfd/ubuntu_xenial_vnf/ubuntu_xenial_vnfd.yaml @@ -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