updated doc

This commit is contained in:
Antoine Nguyen
2024-04-24 08:03:30 +02:00
parent d0d19b920b
commit c069f7e6eb
2 changed files with 11 additions and 6 deletions

View File

@@ -9,9 +9,8 @@ An installer which deploy a complete mail server based on Modoboa.
This tool is still in beta stage, it has been tested on: This tool is still in beta stage, it has been tested on:
* Debian Buster (10) / Bullseye (11) * Debian 10 and upper
* Ubuntu Bionic Beaver (18.04) and upper * Ubuntu Bionic Beaver (18.04) and upper
* CentOS 7
.. warning:: .. warning::
@@ -93,7 +92,7 @@ You can activate it as follows::
It will automatically install latest versions of modoboa and its plugins. It will automatically install latest versions of modoboa and its plugins.
Backup mode Backup mode
------------ -----------
An experimental backup mode is available. An experimental backup mode is available.

8
run.py
View File

@@ -37,6 +37,12 @@ PRIMARY_APPS = [
def installation_disclaimer(args, config): def installation_disclaimer(args, config):
"""Display installation disclaimer.""" """Display installation disclaimer."""
hostname = config.get("general", "hostname") hostname = config.get("general", "hostname")
utils.printcolor(
"Notice:\n"
"It is recommanded to run this installer on a FRESHLY installed server.\n"
"(ie. with nothing special already installed on it)\n",
utils.CYAN
)
utils.printcolor( utils.printcolor(
"Warning:\n" "Warning:\n"
"Before you start the installation, please make sure the following " "Before you start the installation, please make sure the following "
@@ -47,7 +53,7 @@ def installation_disclaimer(args, config):
hostname.replace(".{}".format(args.domain), ""), hostname.replace(".{}".format(args.domain), ""),
hostname hostname
), ),
utils.CYAN utils.YELLOW
) )
utils.printcolor( utils.printcolor(
"Your mail server will be installed with the following components:", "Your mail server will be installed with the following components:",