Skip to content

Commit

Permalink
Merge pull request kubernetes#4903 from derekwaynecarr/fix_vagrant_in…
Browse files Browse the repository at this point in the history
…stance_prefix

Fix error provisioning kube-apiserver on vagrant
  • Loading branch information
thockin committed Feb 27, 2015
2 parents 3a21d29 + 5fdf6b1 commit d98b081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/vagrant/config-default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export NUM_MINIONS
# The IP of the master
export MASTER_IP="10.245.1.2"

export INSTANCE_PREFIX=kubernetes
export INSTANCE_PREFIX="kubernetes"
export MASTER_NAME="${INSTANCE_PREFIX}-master"

# Map out the IPs, names and container subnets of each minion
Expand Down
1 change: 1 addition & 0 deletions cluster/vagrant/provision-master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ cat <<EOF >/srv/salt-overlay/pillar/cluster-params.sls
dns_replicas: '$(echo "$DNS_REPLICAS" | sed -e "s/'/''/g")'
dns_server: '$(echo "$DNS_SERVER_IP" | sed -e "s/'/''/g")'
dns_domain: '$(echo "$DNS_DOMAIN" | sed -e "s/'/''/g")'
instance_prefix: '$(echo "$INSTANCE_PREFIX" | sed -e "s/'/''/g")'
EOF

# Configure the salt-master
Expand Down

0 comments on commit d98b081

Please sign in to comment.