mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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:
parent
fe15da5e3e
commit
fa414bbf0a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user