From e45ab33873b114d67a2c14a676ed09a0d4dba196 Mon Sep 17 00:00:00 2001
From: Herman van Rink <rink@initfour.nl>
Date: Thu, 1 Dec 2022 21:08:03 +0100
Subject: [PATCH] Prepare autoinstall.ini update config

---
 README.md               |  2 +-
 install/autoinstall.ini | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 install/autoinstall.ini

diff --git a/README.md b/README.md
index fad108f268..d1ff348203 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ cd /tmp
 wget https://git.ispconfig.org/helmo/ispconfig3/-/archive/stable-helmo/ispconfig3-stable-helmo.tar.gz
 tar xvfz ispconfig3-stable-helmo.tar.gz
 cd ispconfig3-stable-helmo/install
-php -q update.php
+php -q update.php [--autoinstall=autoinstall.ini]
 ```
 
 ## Functions
diff --git a/install/autoinstall.ini b/install/autoinstall.ini
new file mode 100644
index 0000000000..07b5ee8a85
--- /dev/null
+++ b/install/autoinstall.ini
@@ -0,0 +1,21 @@
+[update]
+do_backup=yes
+reconfigure_permissions_in_master_database=no
+reconfigure_services=yes
+ispconfig_port=8080
+create_new_ispconfig_ssl_cert=no
+reconfigure_crontab=yes
+create_ssl_server_certs=n
+ignore_hostname_dns=n
+ispconfig_postfix_ssl_symlink=y
+ispconfig_pureftpd_ssl_symlink=y
+
+; These are for service-detection (defaulting to old behaviour where alle changes were automatically accepted)
+svc_detect_change_mail_server=yes
+svc_detect_change_web_server=yes
+svc_detect_change_dns_server=yes
+svc_detect_change_xmpp_server=no
+svc_detect_change_firewall_server=no
+svc_detect_change_vserver_server=no
+svc_detect_change_db_server=yes
+
-- 
GitLab