Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Thom
ISPConfig Autoinstaller
Commits
f5df9d2d
Commit
f5df9d2d
authored
Dec 15, 2020
by
Marius Burkard
Browse files
- add missing autoinstall ini entries for ISPConfig
- add force overwrite config setting for dpkg in APT
parent
ea726bb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/os/class.ISPConfigDebianOS.inc.php
View file @
f5df9d2d
...
...
@@ -42,10 +42,10 @@ class ISPConfigDebianOS extends ISPConfigBaseOS {
$cmd
=
'DEBIAN_FRONTEND="noninteractive" apt-get update -qq -y'
;
}
elseif
(
$mode
==
'update'
)
{
// for updating all updateable packages
$cmd
=
'DEBIAN_FRONTEND="noninteractive" apt-get dist-upgrade -qq -y'
;
$cmd
=
'DEBIAN_FRONTEND="noninteractive" apt-get dist-upgrade
-o Dpkg::Options::="--force-overwrite"
-qq -y'
;
}
elseif
(
$mode
==
'install'
||
$mode
==
'partly_update'
)
{
// for installing / updating specific packages
$cmd
=
'DEBIAN_FRONTEND="noninteractive" apt-get install -qq -y'
;
$cmd
=
'DEBIAN_FRONTEND="noninteractive" apt-get install
-o Dpkg::Options::="--force-overwrite"
-qq -y'
;
$cmd
.
=
' <PACKAGES>'
;
}
...
...
@@ -1120,6 +1120,10 @@ mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"';
ispconfig_port=8080
ispconfig_use_ssl=y
ispconfig_admin_password='
.
$ispconfig_admin_pw
.
'
create_ssl_server_certs=y
ignore_hostname_dns=n
ispconfig_postfix_ssl_symlink=y
ispconfig_pureftpd_ssl_symlink=y
[ssl_cert]
ssl_cert_country=DE
...
...
@@ -1160,6 +1164,10 @@ mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"';
ispconfig_port=8080
create_new_ispconfig_ssl_cert=no
reconfigure_crontab=yes
create_ssl_server_certs=y
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment