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: