Quote From : asim_shaikh August 5, 2015, 11:55 am Hi,
after_config_write.php is enough If you just want to make changes inside the config file of the VPS.
So do we just go
PHP Code function __after_createvps($vps){
// Write your code here. e.g. You can add an additional NIC to the VPS configuration file if you wanted.
echo "varible1 = blah";
echo "varible2 = stuff";
echo "varible3 = "junk";
}
Quote From : asim_shaikh August 5, 2015, 11:55 am
Do you mean to add some custom configuration for each XEN VPS after the configuration is written by virtualizor ?
Idealy in the web admin of Virtualizor say under the advance section when setting up or editing a VPS, there would be a generic text box that we could freehand type extra variables for that particular vps we wanted in the config file.
That way when the VPS had any changes made to it through either web portal, those changes would stick and be specific to that VPS only.
|