From 1cbc0e4abe0e450dd403fd8dc56c92c8400c9b5f Mon Sep 17 00:00:00 2001 From: rperper Date: Fri, 26 Oct 2018 10:56:39 -0400 Subject: [PATCH] Postfix still not right --- install/install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/install.py b/install/install.py index eaac8c6c6..72c6275b0 100755 --- a/install/install.py +++ b/install/install.py @@ -25,7 +25,7 @@ class preFlightsChecks: cyberPanelMirror = "mirror.cyberpanel.net/pip" - def __init__(self,rootPath,ip,path,cwd,cyberPanelPath,self.distro): + def __init__(self,rootPath,ip,path,cwd,cyberPanelPath,distro): self.ipAddr = ip self.path = path self.cwd = cwd @@ -1165,7 +1165,7 @@ class preFlightsChecks: if self.distro == centos: command = 'yum install -y http://mirror.ghettoforge.org/distributions/gf/el/7/plus/x86_64//postfix3-3.2.4-1.gf.el7.x86_64.rpm' else: - command = 'debconf-set-selections <<< ' '"postfix postfix/mailname string ' + str(socket.getfqdn()) + ";' \ + command = 'debconf-set-selections <<< "postfix postfix/mailname string ' + str(socket.getfqdn()) + '";' \ ' debconf-set-selections <<< "postfix postfix/main_mailer_type string \'Internet Site\'";' \ ' apt-get install -y postfix'