Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cluster/vagrant/provision-master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ external_auth:
- .*
rest_cherrypy:
port: 8000
host: 127.0.0.1
host: ${MASTER_IP}
disable_ssl: True
webhook_disable_auth: True
EOF
Expand Down Expand Up @@ -248,5 +248,5 @@ else
# set up to run highstate as new minions join for the first time.
echo "Executing configuration"
salt '*' mine.update
salt --show-timeout --force-color '*' state.highstate
salt --force-color '*' state.highstate
fi
2 changes: 1 addition & 1 deletion pkg/cloudprovider/vagrant/vagrant.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type SaltMinionsResponse struct {
// newVagrantCloud creates a new instance of VagrantCloud configured to talk to the Salt REST API.
func newVagrantCloud() (*VagrantCloud, error) {
return &VagrantCloud{
saltURL: "http://127.0.0.1:8000",
saltURL: "http://kubernetes-master:8000",
saltUser: "vagrant",
saltPass: "vagrant",
saltAuth: "pam",
Expand Down