Updated Branches: refs/heads/4.3 c5e95be7e -> 8f9396b36
CLOUDSTACK-4886: printing ****** to stdout instead of db users password Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8f9396b3 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8f9396b3 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8f9396b3 Branch: refs/heads/4.3 Commit: 8f9396b36b0cbf35de7929f1b6b3905fd84b3723 Parents: c5e95be Author: Rajani Karuturi <rajanikarut...@gmail.com> Authored: Fri Dec 20 16:28:33 2013 +0530 Committer: SrikanteswaraRao Talluri <tall...@apache.org> Committed: Fri Dec 20 17:36:54 2013 +0530 ---------------------------------------------------------------------- setup/bindir/cloud-setup-databases.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8f9396b3/setup/bindir/cloud-setup-databases.in ---------------------------------------------------------------------- diff --git a/setup/bindir/cloud-setup-databases.in b/setup/bindir/cloud-setup-databases.in index b58dc24..2ba7d51 100755 --- a/setup/bindir/cloud-setup-databases.in +++ b/setup/bindir/cloud-setup-databases.in @@ -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)