Commit 000ba209 authored by helmo's avatar helmo Committed by helmo

Issue #2886587 by helmo: Set install profile via Debian package variable

parent 18a411d7
......@@ -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
......
......@@ -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
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment