Additional settings in config.php¶
There are several additional options that can be configured through /whmcs_root/modules/servers/solusvm2vps/config.php
:
return [
'allow_login_to_cloud_panel' => false,
'delete_solus_user' => false,
'default_domain' => [
'enabled' => false,
'mask' => '*.example.com',
],
];
'allow_login_to_cloud_panel'
- if true, renders the Log In button in the provisioning module to log in to the SolusVM 2 user area. Default value is false.
'delete_solus_user'
- if true, removes the user account from SolusVM 2 if the corresponding account is removed from WHMCS. Default value is false.
'default_domain'
- configures the default domain template in case the hostname is not set while creating the product.
Options for 'default_domain'
:
'enabled'
- if true, enables the feature. Default value is false.'mask'
- the domain template in format*.example.com
where*
will be replaced withvps-{serviceId}
when product is created. Default value is*.example.com
.