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.
This commit is contained in:
Edison Su 2012-07-09 11:48:43 -07:00
parent fe15da5e3e
commit fa414bbf0a

View File

@ -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