Browse Source

Fixed various typos

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

10
ee/cli/plugins/stack.py

@ -4,7 +4,7 @@ from cement.core.controller import CementBaseController, expose
from cement.core import handler, hook from cement.core import handler, hook
from ee.core.variables import EEVariables from ee.core.variables import EEVariables
from ee.core.aptget import EEAptGet from ee.core.aptget import EEAptGet
from ee.core.donwload import EEDownload from ee.core.download import EEDownload
import random import random
import string import string
@ -54,12 +54,12 @@ class EEStackController(CementBaseController):
chars = ''.join(random.sample(string.letters, 8)) chars = ''.join(random.sample(string.letters, 8))
EEShellExec.cmd_exec("echo \"percona-server-server-5.6" EEShellExec.cmd_exec("echo \"percona-server-server-5.6"
"percona-server-server/root_password" "percona-server-server/root_password"
"password {pass}\"" "password {chars}\" |"
"| debconf-set-selections".format(pass=chars)) "debconf-set-selections".format(chars=chars))
EEShellExec.cmd_exec("echo \"percona-server-server-5.6" EEShellExec.cmd_exec("echo \"percona-server-server-5.6"
"percona-server-server/root_password_again" "percona-server-server/root_password_again"
"password {pass}\"" "password {chars}\" |"
"| debconf-set-selections".format(pass=chars)) "debconf-set-selections".format(chars=chars))
@expose() @expose()
def install(self): def install(self):

Loading…
Cancel
Save