diff --git a/debian/aegir3-hostmaster.config b/debian/aegir3-hostmaster.config index 96248a2..c3a972d 100644 --- a/debian/aegir3-hostmaster.config +++ b/debian/aegir3-hostmaster.config @@ -34,6 +34,7 @@ if [ -z "$RET" ]; then db_set aegir/site `hostname -f` fi db_input low aegir/makefile || true +db_input low aegir/profile || true db_input low aegir/working-copy || true db_input low aegir/db_host || true db_input low aegir/db_user || true diff --git a/debian/aegir3-hostmaster.postinst b/debian/aegir3-hostmaster.postinst index 800db26..ed831de 100644 --- a/debian/aegir3-hostmaster.postinst +++ b/debian/aegir3-hostmaster.postinst @@ -41,6 +41,10 @@ case "$1" in if [ ! -z "$RET" ]; then FLAGS="$FLAGS --makefile='$RET'" fi + db_get "aegir/profile" + if [ ! -z "$RET" ]; then + FLAGS="$FLAGS --profile='$RET'" + fi db_get "aegir/webserver" if [ ! -z "$RET" ]; then if [ "$RET" = 'apache2' ]; then diff --git a/debian/aegir3-hostmaster.templates b/debian/aegir3-hostmaster.templates index 3bec91a..a2c99e7 100644 --- a/debian/aegir3-hostmaster.templates +++ b/debian/aegir3-hostmaster.templates @@ -39,6 +39,14 @@ Description: Makefile used to create the platform: . If this is left empty, Aegir will use its internal makefile. +Template:aegir/profile +Type: string +Description: The install profile to use: + The profile parameter passed to hostmaster-install. Normally this is + hostmaster. + . + If this is left empty, Aegir will use its default. + Template:aegir/webserver Type: select Description: Webserver type to use: