diff --git a/debian/aegir3-hostmaster.config b/debian/aegir3-hostmaster.config index 96248a2a31d18b5f9ef770746f5ad52099986685..c3a972d8af3ea2e5fce9ef4fae342b7f1dc6a441 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 800db26ddf465107d1ceac24d1a515828fe53476..ed831def607eca2a5db86c87f8705dcc33ea90f9 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 3bec91a8f3f8f46b99f94ec31420ff12d7293d8a..a2c99e76e089955d2dbecbbf8d5e9a8faa1e8291 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: