address a minor issue with apache installation on openvz

This commit is contained in:
usmannasir
2024-09-23 21:54:50 +05:00
parent f79cb60667
commit 2b71d76f23

View File

@@ -330,7 +330,7 @@ class preFlightsChecks:
result = subprocess.run('systemd-detect-virt', capture_output=True, text=True, shell=True)
if result.stdout.find('openvz') == -1:
if result.stdout.find('openvz') > -1:
if self.distro == ubuntu:
command = 'DEBIAN_FRONTEND=noninteractive apt install inetutils-inetd -y'
preFlightsChecks.call(command, self.distro, command,