Browse Source

Fixed Travis

bugfixes
gau1991 10 years ago
parent
commit
d71f8495b4
  1. 8
      ee/cli/plugins/stack.py

8
ee/cli/plugins/stack.py

@ -373,10 +373,10 @@ class EEStackController(CementBaseController):
"= mysql:/etc/postfix/mysql/virtual_" "= mysql:/etc/postfix/mysql/virtual_"
" alias_maps.cf\"") " alias_maps.cf\"")
EEShellExec.cmd_exec(self, "openssl req -new -x509 -days " EEShellExec.cmd_exec(self, "openssl req -new -x509 -days "
" 3650 -nodes-subj /commonName={HOSTNAME}" " 3650 -nodes -subj /commonName="
"/emailAddre" "{HOSTNAME}/emailAddress={EMAIL}"
"ss={EMAIL} -out /etc/ssl/certs/postfix." " -out /etc/ssl/certs/postfix.pem"
"pem -keyout /etc/ssl/private/postfix.pem" " -keyout /etc/ssl/private/postfix.pem"
.format(HOSTNAME=EEVariables.ee_fqdn, .format(HOSTNAME=EEVariables.ee_fqdn,
EMAIL=EEVariables.ee_email)) EMAIL=EEVariables.ee_email))
EEShellExec.cmd_exec(self, "chmod 0600 /etc/ssl/private" EEShellExec.cmd_exec(self, "chmod 0600 /etc/ssl/private"

Loading…
Cancel
Save