Versions Compared

Key

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

...

...

...

...

Table of Contents

Introduction

As part of the Guest setup feature, Abiquo supports Configuration drive feature in private cloud datacenters for automating first boot configuration. And in public cloud datacenters, Abiquo supports cloud-init. 

...

Info

Abiquo versions 3.10.5 and 4.0.2 introduce support for adding a fully qualified domain name (FQDN) using configuration drive and cloud-init. The user can edit the VM and enter the FQDN on the General tab. If Abiquo detects that first boot automation is available, it may automatically set the FQDN using the name attribute of the VM obtained from the Abiquo API, with the format ABQ-uuid and the domain of the VM's networks, or the localhost domain.

Note

The VM templates determine the support for the bootstrap format and the VM configuration. Check your provider's documentation before working with this feature


VM support

If your platform supports the bootstrap feature:

  • Abiquo creates an ISO disk on the VM, so your VM must have fewer than four IDE disks attached before you begin

  • If there is bootstrap data, Abiquo creates an ISO disk 

    1. Abiquo will check that there are fewer than 4 IDE drives before attaching the ISO because that is the maximum number you can attach to the VM 

    2. The ISO disk has the label "config-2"

    3. Abiquo adds the following files to the folder "openstack/latest"

      1. user_data: Abiquo VM Bootstrap script

      2. vm-variables.rc:  Abiquo VM variables that are in 'key'='value'

      3. meta_data.json: Abiquo VirtualMachineIdentifier. The meta_data.json file is in the following format:

      4. If DHCP is not used in your environment, the network configuration of the VM will be placed in network_data.json file

    • You must obtain or create a template that runs cloud-init services or cloudbase-init services (for Windows), or a similar system. The template that you use will determine what the VM will do with the configuration data.

  • VM access

    • You do not need to allow any type of access to the VM because the VM can pull its own configuration from the Configuration drive.

References:

Add a bootstrap script for a VM

Edit the VM, and open the Bootstrap tab. Paste your configuration definition in the text box.Image Removed

You can also add VM variables on the Variables tab and Abiquo will add them to the vm-variables.rc file. And Abiquo will automatically add metadata for the VM, but you can overwrite this in the Bootstrap data.