Cloud-init¶
Cloud-init handles early initialization of a cloud instance. More information is available at https://cloudinit.readthedocs.io/en/latest/.
Cloud-init is enabled by default. It can be disabled after the first boot using the following configuration. At the next reboot, cloud-init won’t be called.
vrouter running # system cloud-init
vrouter running cloud-init# enabled false
vrouter running cloud-init# commit
To display cloud-init state:
vrouter running config# show state system cloud-init
cloud-init
datasource "DataSourceNoCloud [seed=/dev/sr0][dsmode=local]"
enabled true
..
The same configuration can be made using this NETCONF XML configuration:
vrouter running config# show config xml absolute system cloud-init
<config xmlns="urn:6wind:vrouter">
<system xmlns="urn:6wind:vrouter/system">
<cloud-init xmlns="urn:6wind:vrouter/system/cloud-init">
<datasource>DataSourceNoCloud [seed=/dev/sr0][dsmode=local]</datasource>
<enabled>true</enabled>
</cloud-init>
</system>
</config>
See also
The command reference for details.