From 51ac25cb3331f578c81d844575b049f9afff5922 Mon Sep 17 00:00:00 2001 From: Guido Trotter Date: Fri, 2 Oct 2009 16:03:50 +0100 Subject: [PATCH] Support API version 15 (with OS variants) Signed-off-by: Guido Trotter Reviewed-by: Olivier Tharan --- common.sh.in | 2 +- ganeti_api_version | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/common.sh.in b/common.sh.in index ad4e99e..2acab86 100644 --- a/common.sh.in +++ b/common.sh.in @@ -176,7 +176,7 @@ if [ -z "$OS_API_VERSION" -o "$OS_API_VERSION" = "5" ]; then GETOPT_RESULT=`getopt -o o:n:i:b:s: -n '$0' -- "$@"` if [ $? != 0 ] ; then log_error "Terminating..."; exit 1 ; fi get_api5_arguments $GETOPT_RESULT -elif [ "$OS_API_VERSION" = "10" ]; then +elif [ "$OS_API_VERSION" = "10" -o "$OS_API_VERSION" = "15" ]; then get_api10_arguments else log_error "Unknown OS API VERSION $OS_API_VERSION" diff --git a/ganeti_api_version b/ganeti_api_version index c3ec801..43484f9 100644 --- a/ganeti_api_version +++ b/ganeti_api_version @@ -1,2 +1,3 @@ 5 10 +15 -- 1.7.2.5