Versions Compared

Key

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

...

The platform can set an initial password for a VM before it deploys.  Before the VM deploys, The administrator can configure this option in a VM template but the user can edit the VM to change the template setting using the Guest initial password checkboxoption.

Before you begin:, perform the following configuration on the platform.

  1. To configure password emails, do these steps
    1. Abiquo will mail the password to the VM owner, so on the Abiquo Server, check that you have set the mail properties with the address of the mail server and mail user. See Abiquo Configuration Properties#mail
    2. To customize the email template, see Configure Email Templates
    3. Check that the VM owner has a valid email address
  2. To prevent user access to VMs while waiting for Windows password, set the following abiquo.properties on the Remote Services
     

    Code Block
    # Time to wait for guest tools to get up and running after power on
    # This value is 15 minutes
    com.abiquo.esxi.experimental.customize.configure.timeoutms=900000 
    # Polling interval for checking if guest tools is up and running after power on 
    # This value is 10 seconds
    com.abiquo.esxi.experimental.customize.configure.periodms=30000 

To prepare a template to generate a random password in the VM, for the first time the it deploys: 

  1. Edit the an appropriate template to select the Guest setup option
  2. Select the Guest initial password optioncheckbox
  3. Set the appropriate username in the template
    • root user on Linux 
    • Administrator user on Windows

...

    • On Linux, enter "root"
    • On Windows, enter "Administrator"

Note that the user can edit the VM before it deploys and change the Guest initial password option.

The platform does not save the initial password, so on Linux, before deploying an instance template, edit the instance's password to set it to the current VM password. 

...