Variable to find template name?

Hi,

I was wondering if there was a variable for the template name, for when you create a VHost? I only want to run scripts when hosts with certain templates are generated.

Cheers,
Hannah

Howdy,

Unfortunately, I don’t think that’s currently an option… but I can talk to Jamie and see about adding that for a future release.

-Eric

Ah fair enough, yeah I thought so. I got around it by assigning a group to every user created with that template, and in the bash script running a regex to find that group. Seems to be working well :slight_smile:

Cheers,

Hannah