Trusty: Support hybrid cluster with nodes on ContainerVM

pull/6/head
Andy Zheng 2016-03-16 13:01:02 -07:00
parent b56252e338
commit 2ea9ef53f3
1 changed files with 5 additions and 0 deletions

View File

@ -689,6 +689,11 @@ function create-nodes-template() {
local template_name="${NODE_INSTANCE_PREFIX}-template"
# For master on trusty, we support running nodes on ContainerVM or trusty.
if [[ "${OS_DISTRIBUTION}" == "trusty" ]] && \
[[ "${NODE_IMAGE}" == container* ]]; then
source "${KUBE_ROOT}/cluster/gce/debian/helper.sh"
fi
create-node-instance-template $template_name
}