...
To use cloud-init in private cloud:
Edit the a cloud-init template in the platform
Go to the Advanced tab
For the Guest setup option select Cloud-init
Optionally, choose to Set initial guest password.
The platform will log in with the template User and Password and change the password to an initial password as configured. The platform will send the initial password to the user via mail or SMS as configured. It does not store the initial password. It is possible to display the initial password using the key button in the Abiquo UISelect the Operating system and enter an optional Version
For the User, enter a user in the template. For Windows enter “Administrator” or for Linux, enter a user with password access to sudo to change the password
For the Password enter the default password of the user on the VM template.
Optionally, go to Bootstrap and paste your configuration or script in the Bootstrap script text box
. This can be a cloud configuration, for examples see https://cloudinit.readthedocs.io/en/latest/topics/examples.html, or another startup script that is compatible with cloud init.
Optionally, go to Variables and set predefined variables for the template
. The configuration process may use the variables, it will also make them available through the configuration drive as user data or as VM metadata.
Tip |
---|
To share this template with users in different cloud tenants, go to Scopes and select scopes that contain the required tenants. See Share VM templates |
...