mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-18 02:32:09 +00:00
Update questions.sh
This commit is contained in:
parent
eabf24b393
commit
8516b6df94
@ -24,6 +24,15 @@ if [ -z "${NONINTERACTIVE:-}" ]; then
|
|||||||
\n\nNOTE: You should only install this on a brand new Ubuntu installation 100% dedicated to Mail-in-a-Box. Mail-in-a-Box will, for example, remove apache2."
|
\n\nNOTE: You should only install this on a brand new Ubuntu installation 100% dedicated to Mail-in-a-Box. Mail-in-a-Box will, for example, remove apache2."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "${INSTALL:-}"]; then
|
||||||
|
INSTALL=M
|
||||||
|
input_box "Where is Mail-in-a-Box installed?" \
|
||||||
|
"Are you installing Mail-in-a-Box on bare [m]etal or within [d]ocker? \
|
||||||
|
\n\n[m]etal or [d]ocker?" \
|
||||||
|
"m" \
|
||||||
|
INSTALL
|
||||||
|
fi
|
||||||
|
|
||||||
# The box needs a name.
|
# The box needs a name.
|
||||||
if [ -z "${PRIMARY_HOSTNAME:-}" ]; then
|
if [ -z "${PRIMARY_HOSTNAME:-}" ]; then
|
||||||
if [ -z "${DEFAULT_PRIMARY_HOSTNAME:-}" ]; then
|
if [ -z "${DEFAULT_PRIMARY_HOSTNAME:-}" ]; then
|
||||||
@ -89,7 +98,8 @@ if [ -z "${DAV_HOSTNAME:-}" ]; then
|
|||||||
DAV_HOSTNAME=$PRIMARY_HOSTNAME
|
DAV_HOSTNAME=$PRIMARY_HOSTNAME
|
||||||
input_box "External CalDAV/CardDAV Server" \
|
input_box "External CalDAV/CardDAV Server" \
|
||||||
"Are you using an external server for CalDAV and CardDAV (Nextcloud), if so, enter the FQDN of the server. \
|
"Are you using an external server for CalDAV and CardDAV (Nextcloud), if so, enter the FQDN of the server. \
|
||||||
\n\nIMPORTANT: Changing this from the default will omit the installation of Nextcloud on this system." \
|
\n\nIMPORTANT: Changing this from the default will omit the installation of Nextcloud on this system. \
|
||||||
|
\n\nFully qualified hostname where your CalDAV and CardDAV services are hosted:"
|
||||||
$DAV_HOSTNAME \
|
$DAV_HOSTNAME \
|
||||||
DAV_HOSTNAME
|
DAV_HOSTNAME
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user