mirror of https://github.com/apache/cloudstack.git
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack
This commit is contained in:
commit
20bbaf01ce
|
|
@ -0,0 +1,12 @@
|
|||
DBUSER=cloud
|
||||
DBPW=cloud
|
||||
DBROOTPW=
|
||||
MSLOG=vmops.log
|
||||
APISERVERLOG=api.log
|
||||
DBHOST=localhost
|
||||
AGENTLOGDIR=logs
|
||||
AGENTLOG=logs/agent.log
|
||||
MSMNTDIR=/mnt
|
||||
COMPONENTS-SPEC=components-premium.xml
|
||||
AWSAPILOG=awsapi.log
|
||||
REMOTEHOST=localhost
|
||||
|
|
@ -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…
Reference in New Issue