mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
13.98k stars 1.44k forks source link

Skip questions ? #1681

Open hb2osami opened 4 years ago

hb2osami commented 4 years ago

Hi , how could i easily skip questions and pass the parameters as constants : hostname , email , password ..

Thanks

victorlap commented 4 years ago

You can take a look in the vagrant file for some of the environment variables, especially the non interactive flag.

https://github.com/mail-in-a-box/mailinabox/blob/master/Vagrantfile#L18-L22

Here for the rest of them:

https://github.com/mail-in-a-box/mailinabox/blob/master/setup/start.sh#L89-L95