CLOUDSTACK-4886: printing ****** to stdout instead of db users password

This commit is contained in:
Rajani Karuturi 2013-12-20 16:28:33 +05:30 committed by SrikanteswaraRao Talluri
parent 74cb4b1c5a
commit 50a428c3aa

View File

@ -442,7 +442,7 @@ for example:
self.errorAndExit("--deploy-as= user name cannot be the user name supplied for the connection credentials")
self.info("Mysql root user name:%s"%self.rootuser, True)
self.info("Mysql root user password:%s"%self.rootpassword, True)
self.info("Mysql root user password:%s"%"******", True)
if self.options.serversetup:
if not self.options.rootcreds:
@ -514,10 +514,7 @@ for example:
self.host,self.port = parseHostInfo(stuff[1])
self.info("Mysql user name:%s"%self.user, True)
if self.password:
self.info("Mysql user password:%s"%self.password, True)
else:
self.info("Mysql user password:", True)
self.info("Mysql user password:%s"%"******", True)
self.info("Mysql server ip:%s"%self.host, True)
self.info("Mysql server port:%s"%self.port, True)