From 52b6c9bb41bbcde19abbb6d6d181f6de07314c75 Mon Sep 17 00:00:00 2001 From: Maisem Ali Date: Wed, 18 Jan 2017 15:12:20 -0800 Subject: [PATCH] Adding cos as an alias for gci. --- cluster/gce/config-default.sh | 8 ++++++++ cluster/gce/config-test.sh | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/cluster/gce/config-default.sh b/cluster/gce/config-default.sh index 8523f60d916..2c336f20fb5 100755 --- a/cluster/gce/config-default.sh +++ b/cluster/gce/config-default.sh @@ -46,6 +46,14 @@ if [[ "${NODE_OS_DISTRIBUTION}" == "coreos" ]]; then NODE_OS_DISTRIBUTION="container-linux" fi +if [[ "${MASTER_OS_DISTRIBUTION}" == "cos" ]]; then + MASTER_OS_DISTRIBUTION="gci" +fi + +if [[ "${NODE_OS_DISTRIBUTION}" == "cos" ]]; then + NODE_OS_DISTRIBUTION="gci" +fi + # By default a cluster will be started with the master on GCI and nodes on # containervm. If you are updating the containervm version, update this # variable. Also please update corresponding image for node e2e at: diff --git a/cluster/gce/config-test.sh b/cluster/gce/config-test.sh index e660be5699a..bb134d1f78d 100755 --- a/cluster/gce/config-test.sh +++ b/cluster/gce/config-test.sh @@ -47,6 +47,14 @@ if [[ "${NODE_OS_DISTRIBUTION}" == "coreos" ]]; then NODE_OS_DISTRIBUTION="container-linux" fi +if [[ "${MASTER_OS_DISTRIBUTION}" == "cos" ]]; then + MASTER_OS_DISTRIBUTION="gci" +fi + +if [[ "${NODE_OS_DISTRIBUTION}" == "cos" ]]; then + NODE_OS_DISTRIBUTION="gci" +fi + # By default a cluster will be started with the master on GCI and nodes on # containervm. If you are updating the containervm version, update this # variable. Also please update corresponding image for node e2e at: