Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Fix centos version to 7.* #160

Merged
merged 1 commit into from
Jan 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions hack/hypernetes/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ function kube::util::verify_system() {

version=$(cat /etc/redhat-release)
if [[ "$version" == "" ]]; then
echo "Only CentOS 7.2 is supported."
echo "Only CentOS 7 or newer is supported."
exit 1
fi

if ! [[ "$version" =~ "CentOS Linux release 7.2" ]]; then
echo "Only CentOS 7.2 is supported."
if ! [[ "$version" =~ "CentOS Linux release 7." ]]; then
echo "Only CentOS 7 or newer is supported."
echo "Run 'yum -y update' upgrade the system."
exit 1
fi
Expand Down