Skip to main content

Virtual Machine Builds

When a service is created in WHMCS it sends a request to Katapult to build a Virtual Machine (VM).

Once it has done this, the service is considered active. However, the VM is built asynchronously and may not exist yet.

A task runs on the WHMCS cron to check the VM's build status. When it is complete, the following values are saved to the WHMCS database:

  • initial root password
  • hostname
  • IP address(es)
  • VM ID

Service emails

As the service is active in WHMCS, it will trigger the welcome email (if configured) before the VM has been built.

This is an issue if you wish to include the VM's IP address or hostname in your welcome email.

To resolve this:

  • Use a hook to send the service's welcome email
  • Disable the default welcome email in the product's settings