Automate first boot of a VM for guest setup

 

This document describes the specific steps to configure VMs that are related to guest setup.
For details of how to fully configure a VM, see Configure virtual machines
For more details of Abiquo automation features, see Cloud VM automation guide

 

To get the most out of guest setup on your cloud platform, before you deploy your VM, create the following configuration.

Prepare your user account for VM guest setup

The cloud platform may inject your SSH public key for remote access and it may send your VM initial password by email or SMS.

To edit your user account and prepare for guest setup:

  1. In the bottom-left corner of the screen, open the User icon menu

  2. Select Edit user account

  3. On the General info tab, check that your email address and phone number are correct

  4. Go to Advanced and enter your SSH public key

  5. Click Save

 

General configuration

On the General tab, you can enter the FQDN and select the option to send a Guest initial password.

 

  1. Enter the fully qualified domain name (FQDN) of the VM. You can edit this value before you deploy the VM. If you don't enter a FQDN, the platform will automatically generate one. The hostname will be the VM name (format ABQ-uuid) or another Abiquo identifier (format ABQ-id).
    The domain will be the domain value of the private or external networks that the VM belongs to, or localdomain. After you deploy the VM, if you change the value in the operating system, then Abiquo will synchronize and obtain the new value.

  2. Select the checkbox to Generate an initial root or Administrator password for the VM and email it to the owner. You can select/deselect this checkbox before you deploy the VM.

Bootstrap scripts

On the Bootstrap tab, you can enter a startup script to automate first boot.

 

Variables

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved