variable of Sub-Server

Hi...

I would like to know the variables to use from a script in the create of a sub-server

Status: 
Closed (fixed)

Comments

Do you mean a script that is run after a sub-server is created? You can see them all at http://www.virtualmin.com/documentation/id,template_variable_listing/ , in the "Variables In Domain Modification Scripts" section. To tell if it is a sub-server, check the $VIRTUALSERVER_PARENT variable ... if it is non-empty, it is a sub-server.

Does that answer your question?

I will add that variable to the docs..

Automatically closed -- issue fixed for 2 weeks with no activity.