Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To automate configuration at first boot, add a bootstrap configuration or script that is compatible with cloud-init version 0.79 or above.

The user can enter the FQDN on the General tab when editing the VM. Otherwise Abiquo will try to automatically set the FQDN using the name or ID attribute of the VM, and the domain of the VM's networks, or the localhost domain.

Before you begin, check these requirements:

  • A template that runs cloud-init services or cloudbase-init services (for Windows), or a similar system. The template will determine what the VM will do with the configuration data. 
  • Fewer than four IDE disks attached to the VM before you begin, so Abiquo can create an ISO disk
  • Note: The VM can pull its own configuration from the Configuration drive, so you do not need to allow any type of access to the VM

To add a bootstrap script

  1. Edit the VM and go to the Bootstrap tab
  2. Paste your configuration definition or script in the text box
    Screenshot: example configuration script

Edit the VM to add a startup script with example for cloud-init on the Bootstrap script tab

Abiquo uses the ConfigDrive DataSource for cloud-init.

If DHCP is not used in your datacenter, the network configuration of the VM will be read from cloud-init.

Reference: http://cloudinit.readthedocs.io/en/latest/topics/datasources/configdrive.html

  • No labels