Versions Compared

Key

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

...

This page describes how to configure guest setup for hypervisor tools on VMware vCenter and VCD.

Mermaid
fileNamemermaid_1678352244315
themedefault
version3
{"diagramDefinition":"flowchart TD\n\n\nA2[<font color=ffffff>Hypervisor</br>tools]-->|Deploy     </br> </br>   Reconfigure: no DHCP|B2{<font color=ffffff>OS}-->|Win|Z-->c2[/<font color=ffffff>Unattend file/]-->D2[<font color=ffffff>Network via </br>DHCP only]\nZ(( ))\nstyle Z fill:#g1g,stroke:#100,stroke-width:2px\nZ-->f2[/<font color=ffffff>Custom</br>specification/]-->G2[<font color=ffffff>Network via DHCP </br>or Static IP injection]  \nB2-->|Linux|h2[/<font color=ffffff>Custom</br>specification/]-->I2[<font color=ffffff>Network via DHCP </br>or Static IP injection]  \n \n    \n    \n\nstyle A2 fill: #ff9f3c,stroke: #ff9f3c\nstyle B2 fill: #ff9f3c,stroke: #ff9f3c\nstyle c2 fill: #ff9f3c,stroke: #ff9f3c\nstyle D2 fill: #ff9f3c,stroke: #ff9f3c\nstyle f2 fill: #ff9f3c,stroke: #ff9f3c\nstyle h2 fill: #ff9f3c,stroke: #ff9f3c\nstyle G2 fill: #ff9f3c,stroke: #ff9f3c\nstyle I2 fill: #ff9f3c,stroke: #ff9f3c"}

With hypervisor tools, Abiquo can do the following:

...

For guest tools with Windows, the platform default is to use a Windows unattend file.

The default unattend file is Abiquo default Windows unattend file.

Info

When you configure Windows with an unattend file, the VM obtains its IP addresses using DHCP

Guest setup with a Windows unattend file runs the first time you deploy a VM.
If the guest setup is not successful, the VM deploy or reconfigure will fail and roll back.

...

  • Fully qualified domain name (FQDN)

  • Guest password at deploy time

The Abiquo The Abiquo default Windows unattend file also file also includes these static settings:

...

To configure a custom Windows unattend file for a datacenter

  1. Log in to the Remote Services server as an administrator

  2. Create your own custom unattend file and make the tomcat user the owner of the file

    1. By default Abiquo will replace the following variables:

      • $adminPassword

      • $domain

      • $hostName

  3. Edit the abiquo.properties file and set the location of your custom unattend file. For example:

    Code Block
    // Path to Windows unattend file
    com.abiquo.esxi.experimental.customize.win.unattendfile=/root/windows_unattend.xml

...

Your Windows VMs will obtain their network configuration with DHCP.

...

Configure Windows with a custom specification for hypervisor tools

If you do not want to use an unattend file, then you can use a custom specification.
See Limitations of a custom specification to configure Windows.

Tip

If there is no DHCP service available and you use a custom specification, Abiquo can assign a static IP address to the VM.
The guest setup will run the first time you deploy a VM and when you add a NIC to a powered-off VM

...

If you are not using DHCP, prepare your VM templates for static IP injection.

For Linux with CENTOS:

  1. Download a minimal CentOS OVA, for example, https://sourceforge.net/projects/virtualappliances/files/Linux/CentOS/CentOS-7.0-amd64-minimal.ova/download

  2. If Perl is not installed, then install it

  3. Install VMware tools from vCenter, following the instructions for Option 2 at: https://webhostinggeeks.com/howto/how-to-install-vmware-tools/

For Windows:

  1. Download a Windows template such as WS-2019-template-40GB-BIOS-1.vmdk

  2. Install VMware tools

  3. In Abiquo, for the Guest setup option, select Hypervisor tools, and select the Guest initial password checkbox

...

Edit a VM template for guest setup

...

Users can now automate their VMs with guest setup. See Automate first boot of a VM for guest setup