The VM bootstrap script will be managed by cloud-init.
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:
To add a bootstrap script
If there is bootstrap data, Abiquo:
meta_data.json: Abiquo VirtualMachineIdentifier. The meta_data.json file is in the format referenced below
If DHCP is not used in your environment, the network configuration of the VM will be placed in network_data.json file
Bootstrap scripts in public cloud also run using cloud-init version 0.7.9 or above. You must use a template that is compatible with cloud-init or cloudbase-init.
Edit the VM, and open the Bootstrap script tab. Paste your configuration or script in the text box.
VM variables will be available to the VM after deploy and startup in the "/opt/abiquo-env.rc" file.
With this feature you can also use your own scripts or tools such as Ansible to configure your virtual infrastructure. See also http://www.abiquo.com/2014/05/14/abiquo-dynamic-inventory-plugin-for-ansible/