| commit | d43781b23293616217f03a8a0b6d442c618a960a | [log] [tgz] |
|---|---|---|
| author | garciadeblas <gerardo.garciadeblas@telefonica.com> | Tue May 08 18:28:46 2018 +0200 |
| committer | garciadeblas <gerardo.garciadeblas@telefonica.com> | Tue May 08 18:28:46 2018 +0200 |
| tree | 1cde719171e2338d0370e560a79bc0ff2fff079b | |
| parent | 0ee30e1c287e82cfa181142ca40c8bd598419b43 [diff] |
Fixing cloud-config file in hackfest_simplecharm_vnf Change-Id: I506813b5fb4878a3873ca4aab86d7112c907b5a4 Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/descriptor-packages/nsd/hackfest_simplecharm_ns/hackfest_simplecharm_nsd.yaml b/descriptor-packages/nsd/hackfest_simplecharm_ns/hackfest_simplecharm_nsd.yaml index a85b2cb..aebed0a 100644 --- a/descriptor-packages/nsd/hackfest_simplecharm_ns/hackfest_simplecharm_nsd.yaml +++ b/descriptor-packages/nsd/hackfest_simplecharm_ns/hackfest_simplecharm_nsd.yaml
@@ -12,9 +12,9 @@ - vnfd-id-ref: hackfest-simplecharm-vnf member-vnf-index: '2' vld: - - id: mgmt - name: mgmt - short-name: mgmt + - id: mgmtnet + name: mgmtnet + short-name: mgmtnet type: ELAN mgmt-network: 'true' vim-network-name: mgmt @@ -36,3 +36,4 @@ - vnfd-id-ref: hackfest-simplecharm-vnf member-vnf-index-ref: '2' vnfd-connection-point-ref: vnf-data +
diff --git a/descriptor-packages/vnfd/hackfest_simplecharm_vnf/cloud_init/cloud-config.txt b/descriptor-packages/vnfd/hackfest_simplecharm_vnf/cloud_init/cloud-config.txt index 2140ee0..f6c1b9d 100755 --- a/descriptor-packages/vnfd/hackfest_simplecharm_vnf/cloud_init/cloud-config.txt +++ b/descriptor-packages/vnfd/hackfest_simplecharm_vnf/cloud_init/cloud-config.txt
@@ -1,4 +1,13 @@ -#cloud-config -password: osm4u -chpasswd: { expire: False } -ssh_pwauth: True +#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/descriptor-packages/vnfd/hackfest_simplecharm_vnf/hackfest_simplecharm_vnfd.yaml b/descriptor-packages/vnfd/hackfest_simplecharm_vnf/hackfest_simplecharm_vnfd.yaml index c75101d..9c6f095 100644 --- a/descriptor-packages/vnfd/hackfest_simplecharm_vnf/hackfest_simplecharm_vnfd.yaml +++ b/descriptor-packages/vnfd/hackfest_simplecharm_vnf/hackfest_simplecharm_vnfd.yaml
@@ -103,3 +103,4 @@ - name: filename data-type: STRING default-value: '/home/ubuntu/touched' +