normalize centos version in RID to .7
This commit is contained in:
parent
7b14149c8c
commit
d9ad86282a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue