From 319dd9c0a8a111ab45c0b51afaa8e757b6f4e0ef Mon Sep 17 00:00:00 2001 From: Florian Schaal Date: Sun, 16 Aug 2015 22:10:57 +0200 Subject: [PATCH] change "force configure openvz" --- install/install.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install/install.php b/install/install.php index a4396723c..7e916c136 100644 --- a/install/install.php +++ b/install/install.php @@ -755,8 +755,12 @@ if($install_mode == 'standard') { } } - if($conf['openvz']['installed'] = true && strtolower($inst->simple_query('Enable Openvz-Server', array('y', 'n'), 'y','configure_openvz')) == 'y') - $conf['services']['vserver'] = true; + //* Configure OpenVZ + $force = @($conf['openvz']['installed']) ? true : $inst->force_configure_app('OpenVZ'); + if($force) { + $conf['services']['vserver'] = true; + swriteln('Configuring OpenVZ'); + } if(strtolower($inst->simple_query('Configure Firewall Server', array('y', 'n'), 'y','configure_firewall')) == 'y') { //* Check for Firewall -- GitLab