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