cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
545
Views
1
Helpful
2
Replies

cloud-init

sybrand struwig
Level 1
Level 1

I am trying to automate cml lab topologies with Day0 configs using cloud-init files e.g.

#cloud-config
vinitparam:
- format-partition: 1
- vbond: 10.10.10.10
- host-name: vmanage
- org: virtual.lab

but it seems that for 20.5.1 there is a new option for persona

Re-enter password: admin
1) COMPUTE_AND_DATA
2) DATA
3) COMPUTE
Select persona for vManage [1,2 or 3]: 1
You chose persona COMPUTE_AND_DATA (1)
Are you sure? [y/n] y

and you have to use the netconf format,

#cloud-config
write_files:
- path: /etc/viptela/uuid
  content: 0d19c475-7ca9-949e-eaeb-c8536e37113a
- path: /etc/viptela/otp
  content: 942da71eca4b4deebaab6464910094f2
- path: /etc/confd/init/zcloud-init-vbond.xml
  content: |
    <config xmlns="http://tail-f.com/ns/config/1.0">
      <system xmlns="http://viptela.com/system">
        <personality>vedge</personality>
        <vbond>
          <remote>10.10.10.10</remote>
        </vbond>
      </system>
    </config>
- path: /etc/confd/init/zcloud-init-org.xml
  content: |
    <config xmlns="http://tail-f.com/ns/config/1.0">
      <system xmlns="http://viptela.com/system">
        <personality>vedge</personality>
        <organization-name>some-org</organization-name>
      </system>
    </config>
can anyone please point me in the right direction so that I can get the correct cloud-config info and format automate sdwan?
1 Accepted Solution

Accepted Solutions

Torbjørn
Spotlight
Spotlight

You can see a good example of what you are trying to do here: https://github.com/CiscoDevNet/terraform-sdwan/blob/master/vmware/examples/v20.7-day0.example

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

View solution in original post

2 Replies 2

Torbjørn
Spotlight
Spotlight

You can see a good example of what you are trying to do here: https://github.com/CiscoDevNet/terraform-sdwan/blob/master/vmware/examples/v20.7-day0.example

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

ah shucks I need to buy you a beer