Merge "Be more lenient on input version."
This commit is contained in:
commit
0a60837dec
@ -166,19 +166,19 @@ function discover_code_version {
|
|||||||
else
|
else
|
||||||
source /etc/openstack-release
|
source /etc/openstack-release
|
||||||
case "${DISTRIB_RELEASE%%.*}" in
|
case "${DISTRIB_RELEASE%%.*}" in
|
||||||
'11')
|
*11)
|
||||||
export CODE_UPGRADE_FROM="KILO"
|
export CODE_UPGRADE_FROM="KILO"
|
||||||
notice "You seem to be running Kilo"
|
notice "You seem to be running Kilo"
|
||||||
;;
|
;;
|
||||||
'12')
|
*12)
|
||||||
export CODE_UPGRADE_FROM="LIBERTY"
|
export CODE_UPGRADE_FROM="LIBERTY"
|
||||||
notice "You seem to be running Liberty"
|
notice "You seem to be running Liberty"
|
||||||
;;
|
;;
|
||||||
'13')
|
*13)
|
||||||
export CODE_UPGRADE_FROM="MITAKA"
|
export CODE_UPGRADE_FROM="MITAKA"
|
||||||
notice "You seem to be running Mitaka"
|
notice "You seem to be running Mitaka"
|
||||||
;;
|
;;
|
||||||
'14')
|
*14)
|
||||||
export CODE_UPGRADE_FROM="NEWTON"
|
export CODE_UPGRADE_FROM="NEWTON"
|
||||||
notice "You seem to be running Newton"
|
notice "You seem to be running Newton"
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user