Skip to content

Commit

Permalink
Changed SSH_USER to core instead ubuntu, also applied fixes from kube…
Browse files Browse the repository at this point in the history
  • Loading branch information
xsamurai committed Aug 26, 2015
1 parent 00e3442 commit 5f5d97b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cluster/aws/coreos/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# A library of helper functions for CoreOS.

SSH_USER=ubuntu
SSH_USER=core

function detect-minion-image (){
if [[ -z "${KUBE_MINION_IMAGE-}" ]]; then
Expand All @@ -29,9 +29,6 @@ function detect-minion-image (){
}

function generate-minion-user-data() {
i=$1
# TODO(bakins): Is this actually used?
MINION_PRIVATE_IP=$INTERNAL_IP_BASE.1${i}

# this is a bit of a hack. We make all of our "variables" in
# our cloud config controlled by env vars from this script
Expand All @@ -44,7 +41,6 @@ function generate-minion-user-data() {
DNS_SERVER_IP=$(yaml-quote ${DNS_SERVER_IP:-})
DNS_DOMAIN=$(yaml-quote ${DNS_DOMAIN:-})
MASTER_IP=$(yaml-quote ${MASTER_INTERNAL_IP})
MINION_IP=$(yaml-quote ${MINION_PRIVATE_IP})
KUBELET_TOKEN=$(yaml-quote ${KUBELET_TOKEN:-})
KUBE_PROXY_TOKEN=$(yaml-quote ${KUBE_PROXY_TOKEN:-})
KUBE_BEARER_TOKEN=$(yaml-quote ${KUBELET_TOKEN:-})
Expand Down

0 comments on commit 5f5d97b

Please sign in to comment.