Skip to content

Commit

Permalink
address a minor issue with apache installation on openvz
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Sep 23, 2024
1 parent f79cb60 commit 2b71d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def mountTemp(self):

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,
Expand Down

0 comments on commit 2b71d76

Please sign in to comment.