Operating System

Overview

You can configure operating system selection as a customizable option for SolusVM products in WHMCS. This allows customers to choose their preferred operating system when ordering a virtual server.

  1. Log in to your WHMCS administrator web interface.

  2. Navigate to System Settings > Configurable Options.

    The following image shows the System Settings menu:

    WHMCS System Settings menu with Configurable Options highlighted

  3. Click Create a New Group or select an existing group.

    Note:

    We recommend keeping configurable option group for OS selection separated from other groups.

  4. Enter a group name, select the product you created earlier to assign to the group, and then click Save Changes.

    The following image shows the configurable options group creation:

    WHMCS configurable options group creation form

  5. Click Add New Configurable Option. A new browser window opens where you can specify the option settings.

  6. Enter Operating System in the option name field and select Dropdown as the option type.

  7. In the Add Option field, enter the option value following the pattern: OS_ID|OS_Name, and then click Save Changes. The pattern components are:

    • OS_ID — The ID of an operating system image on the SolusVM management server. To view operating system IDs, navigate to SolusVM’s Images interface (SolusVM » Images » Operating Systems) and locate the IDs of the operating systems you want to add as a configurable option.
    • OS_Name — The name of the operating system to display in WHMCS.

    The following image shows operating system IDs in SolusVM:

    SolusVM Operating Systems interface showing OS IDs

    In this example, options are added for CentOS 8 (OS_ID 2) and Ubuntu 20.04 (OS_ID 7).

    The following image shows the operating system configuration:

    WHMCS operating system configurable option showing dropdown values

  8. Repeat the previous step for each operating system you want to offer. Once finished, click Close Window.

    The following image shows multiple operating system options configured:

    WHMCS configurable option with multiple operating systems