diff --git a/cluster/gce/configure-vm.sh b/cluster/gce/configure-vm.sh index 415cd55f737..8ee1b3ede2c 100644 --- a/cluster/gce/configure-vm.sh +++ b/cluster/gce/configure-vm.sh @@ -77,13 +77,6 @@ import pipes,sys,yaml for k,v in yaml.load(sys.stdin).iteritems(): print "readonly {var}={value}".format(var = k, value = pipes.quote(str(v))) ''' < "${kube_env_yaml}") - - # Infer master status from hostname - if [[ $(hostname) == "${INSTANCE_PREFIX}-master" ]]; then - KUBERNETES_MASTER="true" - else - KUBERNETES_MASTER="false" - fi } function remove-docker-artifacts() { diff --git a/cluster/gce/coreos/helper.sh b/cluster/gce/coreos/helper.sh index e8f5c6b24df..654329ca5db 100644 --- a/cluster/gce/coreos/helper.sh +++ b/cluster/gce/coreos/helper.sh @@ -25,6 +25,7 @@ function build-kube-env { # TODO(dawnchen): master node is still running with debian image if [[ "${master}" == "true" ]]; then cat >$file <>$file <>$file <>$file <