<div dir="ltr"><div> Hi,</div><div><br></div><div>   I'm have installed openstack with tacker by devstack. </div><div><br></div><div>I'm able to run OpenWRT vnf and able to configure the firewall service with openwrt management driver.</div><div><br></div><div>And also able to run shell commands in cirros image which is also using openwrt management driver.</div><div><br></div><div><br></div><div>Now I have created one ubuntu image, and able to launch through tacker.</div><div><br></div><div>In this instance i want run some shell commands through tacker's user_data feature.</div><div><br></div><div>But no commands are executing.</div><div><br></div><div>Is it possible to run commands on custom images unlike cirros/openwrt?</div><div><br></div><div>If yes kindly share the procedure to create proper ubuntu image.</div><div><br></div><div><br></div><div><br></div><div>Below is tosca configd file</div><div><br></div><div><br></div><div>    tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0</div><div><br></div><div>    description: Demo with user-data</div><div><br></div><div>    metadata:</div><div>      template_name: sample-vnfd-userdata</div><div><br></div><div>    topology_template:</div><div>      node_templates:</div><div>        VDU1:</div><div>          type: tosca.nodes.nfv.VDU.Tacker</div><div>          capabilities:</div><div>            nfv_compute:</div><div>              properties:</div><div>                num_cpus: 1</div><div>                mem_size: 1024 MB</div><div>                disk_size: 1 GB</div><div>          properties:</div><div>            image: ubuntu-image</div><div>            config: |</div><div>              param0: key1</div><div>              param1: key2</div><div>            mgmt_driver: openwrt</div><div>            config_drive: true</div><div>            user_data_format: RAW</div><div>            user_data: |</div><div>              #!/bin/sh</div><div>              echo "my hostname is `hostname`" > /tmp/hostname</div><div>              date > /tmp/date</div><div>              ifconfig > /tmp/ifconfig</div><div>              df -h > /tmp/diskinfo</div><div>        CP1:</div><div>          type: tosca.nodes.nfv.CP.Tacker</div><div>          properties:</div><div>            management: true</div><div>            order: 0</div><div>            anti_spoofing_protection: false</div><div>          requirements:</div><div>            - virtualLink:</div><div>                node: VL1</div><div>            - virtualBinding:</div><div>                node: VDU1</div><div><br></div><div>         VL1:</div><div>          type: tosca.nodes.nfv.VL</div><div>          properties:</div><div>            network_name: net_mgmt</div><div>            vendor: ACME</div><div><br></div><div>Regards,</div><div>-Vishnu</div></div>