Versions Compared

Key

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

...

Configuration drive in Abiquo

This feature requires templates that will run cloud-init services or cloudbase-init services (for Windows) or similar. When the user creates a VM, they can enter a configuration definition for cloud-init or another system on the Abiquo VM Bootstrap script tab. The user can additionally enter keys and/or values on the Variables tab, (enter new keys and/or edit those defined in the VM template). Abiquo stores the script and variables in the Abiquo VM metadata, and you can also manage them using the Abiquo API. See Manage virtual machine metadata via API

Abiquo places the Bootstrap script content in a user_data file and the variables in a vm-variables.rc file. Abiquo also creates a Configuration drive meta_data.json file. For example, Abiquo supplies the VM’s unique identifier to configure the default VM hostname. However, for example, the user can override the hostname in the Bootstrap script.

When the user deploys the VM, Abiquo copies and uploads the configuration data to the hypervisor and attaches an ISO disk with this data to the VM. The ISO disk will count towards the limit of a maximum of 4 IDE drives per VM. At first boot, cloud-init configures the VM.

...