You can customize a VDU in your Network Function by adding Cloud-init scripts. You can also provide a VMware Integrated OpenStack key to the VDU.
Procedure
- Log in to the VMware Telco Cloud Automation web interface.
- Go to .
- Select the desired Network Function, click the ⋮ menu, and click Edit.
- Click the Resources tab and click Edit (pencil icon) against NFD.yaml.
- Under the VDU properties, update the values of
key_name
anduser-data
under theboot_data
property.
Example: VDU with Key and Cloud-init Script
vdu1: type: tosca.nodes.nfv.Vdu.Compute.vdu1 properties: name: vdu1 description: vdu1 vdu_profile: min_number_of_instances: 1 max_number_of_instances: 1 sw_image_data: name: photon-curl version: '1' checksum: algorithm: sha-256 hash: hash container_format: bare disk_format: qcow2 min_disk: 4 GiB size: 4 GiB boot_data: content_or_file_data: data: key_name: xkey user-data: | #!/bin/bash #this is a test touch /tmp/abc.log