In a script sh I would like to get all domains alias servers for a specific domain name… I’ve tried this without success :
virtualmin list-domains --alias --domain example.com
I’ve got an empty table like that :
Domain Username Description
Unfortunately there is no way to do this - the --alias flag limits the output to alias domains, but will show ALL of them. I will add an option for this in the next release though.
Thanks for your answer. Awaiting the nee release so
For your information : I’d like to iterate over all domains, then on each alias to run specific command on my Drupal sites. To order to schedule maintenance operations via SH script.
I will add an option for this in the next release though.
Hi Jamie,
do you have any release date in mind ?
Currently my system is on 1.750, I think it the latest release so far.
thanks for your update.
Look for that feature in the next Virtualmin release… the last release was 4.17, which was released in early May. The feature Jamie is referring to would be in the next release, which should be coming out in the next few weeks.