support image type override for real in upgrade.sh script

Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
Vishnu kannan 2016-09-15 23:16:13 -07:00
parent 5975535daa
commit ff5081cce5

View File

@ -38,7 +38,7 @@ function usage() {
echo " -M: Upgrade master only" echo " -M: Upgrade master only"
echo " -N: Upgrade nodes only" echo " -N: Upgrade nodes only"
echo " -P: Node upgrade prerequisites only (create a new instance template)" echo " -P: Node upgrade prerequisites only (create a new instance template)"
echo " -o: Use os distro sepcified in KUBE_NODE_OS_DISTRIBUTION for new nodes" echo " -o: Use os distro sepcified in KUBE_NODE_OS_DISTRIBUTION for new nodes. Options include 'debian' or 'gci'"
echo " -l: Use local(dev) binaries" echo " -l: Use local(dev) binaries"
echo "" echo ""
echo ' Version number or publication is either a proper version number' echo ' Version number or publication is either a proper version number'
@ -295,7 +295,7 @@ node_prereqs=false
local_binaries=false local_binaries=false
env_os_distro=false env_os_distro=false
while getopts ":MNPlh" opt; do while getopts ":MNPlho" opt; do
case ${opt} in case ${opt} in
M) M)
node_upgrade=false node_upgrade=false