normalize centos version in RID to .7

This commit is contained in:
piotrp 2016-01-27 00:14:10 -08:00
parent 7b14149c8c
commit d9ad86282a

View file

@ -23,7 +23,7 @@ if [ -z "$RID" ]; then
export RID=ubuntu.14.04-x64 export RID=ubuntu.14.04-x64
elif [ "$(cat /etc/*-release | grep -cim1 centos)" -eq 1 ]; then elif [ "$(cat /etc/*-release | grep -cim1 centos)" -eq 1 ]; then
export OSNAME=centos export OSNAME=centos
export RID=centos.7.1-x64 export RID=centos.7-x64
else else
error "unknown Linux Distro" 1>&2 error "unknown Linux Distro" 1>&2
fi fi