Browse Source

Fixed bug

bugfixes
shital.rtcamp 10 years ago
parent
commit
0c6b325058
  1. 7
      ee/cli/plugins/stack.py

7
ee/cli/plugins/stack.py

@ -829,7 +829,8 @@ class EEStackController(CementBaseController):
'\'anemometer\'@\'{0}\' IDENTIFIED' '\'anemometer\'@\'{0}\' IDENTIFIED'
' BY \'{1}\''.format(self.app.config.get( ' BY \'{1}\''.format(self.app.config.get(
'mysql', 'grant-host'), 'mysql', 'grant-host'),
chars), Log=False) chars),
errormsg="cannot grant privillages", log=False)
# Custom Anemometer configuration # Custom Anemometer configuration
Log.debug(self, "configration Anemometer") Log.debug(self, "configration Anemometer")
@ -892,8 +893,8 @@ class EEStackController(CementBaseController):
" vimbadmin@{0} IDENTIFIED BY" " vimbadmin@{0} IDENTIFIED BY"
" '{1}'".format(self.app.config.get('mysql', " '{1}'".format(self.app.config.get('mysql',
'grant-host'), vm_passwd), 'grant-host'), vm_passwd),
errormsg="Cannot setup database " errormsg="Cannot grant "
"user privileges", Log=False) "user privileges", log=False)
vm_salt = (''.join(random.sample(string.ascii_letters + vm_salt = (''.join(random.sample(string.ascii_letters +
string.ascii_letters, 64))) string.ascii_letters, 64)))

Loading…
Cancel
Save