Skip to content

Commit

Permalink
Merge pull request kubernetes#33 from jimmidyson/fix-startup-command-…
Browse files Browse the repository at this point in the history
…hostname

Remove hardcoded name in start command
  • Loading branch information
jimmidyson committed Jul 21, 2016
2 parents 9f6bb51 + 3a92246 commit d5be122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/minikube/cluster/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if [ ! -f openshift.local.config/master/master-config.yaml ]; then
sudo /usr/local/bin/openshift ex config patch openshift.local.config/master/master-config.yaml --patch='{"routingConfig": {"subdomain": "%s.xip.io"}}' > /tmp/master-config.yaml;
sudo mv /tmp/master-config.yaml openshift.local.config/master/master-config.yaml
fi;
sudo sh -c 'PATH=/usr/local/sbin:$PATH nohup /usr/local/bin/openshift start --master-config=openshift.local.config/master/master-config.yaml --node-config=openshift.local.config/node-minishiftvm/node-config.yaml> %s 2> %s < /dev/null &'
sudo sh -c 'PATH=/usr/local/sbin:$PATH nohup /usr/local/bin/openshift start --master-config=openshift.local.config/master/master-config.yaml --node-config=openshift.local.config/node-$(hostname | tr '[:upper:]' '[:lower:]')/node-config.yaml> %s 2> %s < /dev/null &'
until $(curl --output /dev/null --silent --fail -k https://localhost:%d/healthz/ready); do
printf '.'
sleep 1
Expand Down

0 comments on commit d5be122

Please sign in to comment.