Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
Configure default FQDNs for guest setup
Configure default FQDNs for guest setup

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 PagePrepare template to configure VM network with cloud-initPrepare template to configure VM network with cloud-init

...

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.

  1. 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]
  2. In the case of Ubuntu 18+, disable any default network configuration utility.

    1. Remove /etc/cloud/cloud.conf.d/subiquity-disable-cloudinit-networking.cfg

    2. 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

...