You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by al...@apache.org on 2012/07/10 03:31:07 UTC
[4/18] git commit: It's due to replace.properties is missing,
by default the password is cloud for user cloud Revert "removing
unneeded password from cloud-dev setup-script"
It's due to replace.properties is missing, by default the password is cloud for user cloud
Revert "removing unneeded password from cloud-dev setup-script"
This reverts commit f157b702e4c6821fc4af4c27e085dea097b79101.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/fa414bbf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/fa414bbf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/fa414bbf
Branch: refs/heads/vpc
Commit: fa414bbf0a405b3187aef2dfddf85766551c53dd
Parents: fe15da5
Author: Edison Su <su...@gmail.com>
Authored: Mon Jul 9 11:48:43 2012 -0700
Committer: Edison Su <su...@gmail.com>
Committed: Mon Jul 9 11:48:43 2012 -0700
----------------------------------------------------------------------
setup/db/deploy-db-clouddev.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/fa414bbf/setup/db/deploy-db-clouddev.sh
----------------------------------------------------------------------
diff --git a/setup/db/deploy-db-clouddev.sh b/setup/db/deploy-db-clouddev.sh
index 7d1ef70..4aa544b 100644
--- a/setup/db/deploy-db-clouddev.sh
+++ b/setup/db/deploy-db-clouddev.sh
@@ -17,12 +17,12 @@
# under the License.
-mysql --user=cloud < clouddev.sql
+mysql --user=cloud --password=cloud < clouddev.sql
if [ $? -ne 0 ]; then
printf "failed to init cloudev db"
fi
-mysql --user=cloud -t cloud -e "insert into configuration (name, value) VALUES('consoleproxy.static.publicip', \"$1\")"
-mysql --user=cloud -t cloud -e "insert into configuration (name, value) VALUES('consoleproxy.static.port', \"$2\")"
+mysql --user=cloud -t cloud --password=cloud -e "insert into configuration (name, value) VALUES('consoleproxy.static.publicip', \"$1\")"
+mysql --user=cloud -t cloud --password=cloud -e "insert into configuration (name, value) VALUES('consoleproxy.static.port', \"$2\")"
vmids=`xe vm-list is-control-domain=false |grep uuid|awk '{print $5}'`
for vm in $vmids