11-15-2023 03:53 AM
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>
Solved! Go to Solution.
11-15-2023 04:07 AM
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
11-15-2023 04:07 AM
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
11-15-2023 04:18 AM - edited 11-15-2023 04:18 AM
ah shucks I need to buy you a beer
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide