Ask Your Question
0

How to use cloud-config in tosca of Tacker

asked 2016-12-11 20:43:56 -0500

Jace.L gravatar image

Hi,

What's the proper way to add the cloud-config in the VNFD yaml file? I tried to add my cloud-config in the user-data section, but nothing works.

Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-01-23 04:41:53 -0500

AB239 gravatar image

updated 2017-01-23 04:42:09 -0500

Use this :

VDU1:
  type: tosca.nodes.nfv.VDU.Tacker
  properties:
    image: {get_input: image}
    flavor: {get_input: flavor} 
    availability_zone: {get_input: zone}
    mgmt_driver: noop
    user_data_format: RAW
    user_data: |
      #cloud-config 
      chpasswd:
        list: |
          root:defnet
        expire: False
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-12-11 20:43:56 -0500

Seen: 303 times

Last updated: Jan 23 '17