-
-
Save akanto/50bb116d7003b93a9599 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| consul_dns_resolver() { | |
| sudo mkdir -p /etc/resolver | |
| echo "Writing resolver to /etc/resolver/consul" | |
| sudo tee /etc/resolver/consul << EOF | |
| domain consul | |
| search node.consul service.consul | |
| nameserver 192.168.59.103 | |
| EOF | |
| } | |
| consul_dns_resolver_check() { | |
| scutil --dns | |
| } | |
| start_cloudbreak_ambassador() { | |
| # foregrund version: | |
| #docker run -it --rm \ | |
| docker run -d \ | |
| -p 8080:8080 \ | |
| -e PORT=8080 \ | |
| -e SERVICE_NAME=cloudbreak \ | |
| progrium/ambassadord 192.168.59.3:9090 | |
| } | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-XX:MaxPermSize=1024m
-Dcb.cert.dir=/Users/akanto/prj/cbd-test/certs
-Dcb.client.id=cloudbreak
-Dcb.client.secret=cbsecret2015
-Dcb.db.port.5432.tcp.addr=192.168.59.103
-Dcb.db.port.5432.tcp.port=5432
-Dcb.identity.server.url=http://192.168.59.103:8089
-Dserver.port=9091
-Dcb.hibernate.debug=true
-Dcb.openstack.experimental.connector=true
-DXcb.docker.container.ambari.warm=sequenceiq/ambari:2.1.0-consul
-DXcb.docker.container.ambari=sequenceiq/ambari:2.1.0-consul