Versions Compared

Key

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

...

For Windows in AWS, the platform supports guest setup with CLOUDBASE_INIT, EC2LAUNCH EC2LAUNCH_V2, EC2LAUNCH, and EC2CONFIG.

...

Cloud-init in Abiquo

Abiquo supports two main kinds of first boot automation with cloud-init:

...

Excerpt
nameEdit a VM template for guest setup

To prepare a VM template for guest setup:

  1. Go to Catalogue

  2. Edit a template with cloud-init or hypervisor tools installed.

  3. Go to Advanced

  4. For Guest setup, select Cloud-Init or Hypervisor tools.

    1. For Windows on AWS, you can select from: CLOUDBASE_INIT, EC2LAUNCH_V2, EC2LAUNCH, EC2CONFIG

  5. Select Guest initial password to generate an initial password according to platform configuration

    1. For Windows systems we strongly recommend this option

    2. The platform will log in with the template User and Password (see below) and change the Password to the guest initial password.
      The platform will send the guest initial password to the user via mail or SMS, and users can display it with the VM key button

  6. For the User,enter the default user for the template

    1. On Windows, enter "Administrator"

    2. On Linux, enter "root" or another user that can run chpassword, with sudo and by always entering the password

      1. If sudo is not available, please contact Abiquo Support to configure the “nosudoerrequiredforuser” property

  7. For the Password,enter the default password of the user on the VM template

    1. The platform does not save VM passwords

      1. On Linux, before deploying an instance template, edit the instance template's password to set it to the current VM password.

  8. Select the Operating system. If required, enter the OS version. For more details see Set the guest operating system for VMware

    Edit VM template to configure Advanced options for guest setupImage RemovedEdit VM template to configure Advanced options for guest setupImage Added
  9. Optionally, go to Variables and set variables for the VM template. The platform will add these variables to the VM using metadata or user data. See VM variables

     Add VM variables for guest setupImage Removed Add VM variables for guest setupImage Added
  10. If you are using Cloud-init or similar, you can enter a startup script or configuration on the Bootstrap tab. The platform will add this script to the VM and the VM user may also be able to modify it. For more details, see VM bootstrap script

     Add a bootstrap script for guest setupImage Removed Add a bootstrap script for guest setupImage Added

Tip

Add the SSH public key to your user before you deploy VMs. To connect to your VM, you will often require the SSH key pair, for example, to connect to Windows VMs in public cloud via RDP

...