...
In private cloud and VCD, Abiquo the platform implements cloud-init with configuration drive. See Configuration drive. In public cloud, it uses provider metadata; check your provider documentation about metadata security.
Cloud-init in Abiquo
Abiquo supports two main kinds of first boot automation with cloud-init:
Abiquo built-in functionality:
Guest initial password
Fully qualified domain name (FQDN)
SSH key injection
User data on Configuration drive data including VM variables as user dataor cloud provider metadata
Network configuration injection (when DHCP is not present)
User bootstrap script and variables
...
Provider support for guest initial passwords
This table describes the priority of remote access credentails for the public cloud providers at the time of writing. Always check your cloud provider documentation for the latest information.
Provider | Operating system | Password priority |
---|---|---|
Azure | Windows | Guest initial password > Password |
Other | SSH public key > Guest initial password > Password | |
AWS | All | SSH public key > Guest initial password |
GCP | Windows | Password |
Other | SSH public key | |
OCI | Windows | Password provided by OCI |
Other | SSH public key |
Configure guest initial password
...
Include Page | ||||
---|---|---|---|---|
|
Prepare templates for cloud-init
...
To enable users to work with cloud init, the administrator prepares VM templates that will run cloud-init services or cloudbase-init services (for Windows) or similar. The compatible version of cloud-init is version 0.7.9 or above, or cloudbase-init. Include Page
...
For VMware (vCenter hosts, vCenter clusters, VCD) and other private cloud hypervisors, where cloud-init uses a configuration drive, you might need to prepare the operating system of your VM templates for this configuration.
Edit the cloud config installer file. The location of this file will vary by operating system. For example, /etc/cloud/cloud.conf.d/99-installer.cfg. Set the datasource to ConfigDrive as shown here.
Code Block datasource: ConfigDrive: datasource_list: [ConfigDrive]
In the case of Ubuntu 18+, disable any default network configuration utility.
Remove /etc/cloud/cloud.conf.d/subiquity-disable-cloudinit-networking.cfg
Remove /etc/netplan/00-installer-config.yml
...
To prepare Windows templates for public cloud, see the following pages.
...
Edit templates for cloud-init in Abiquo
...