diff --git a/smithy b/smithy index 49d23bb8..37093d56 100755 --- a/smithy +++ b/smithy @@ -268,6 +268,9 @@ get_os_info() PKG="rpm" OSNAME=`cat /etc/redhat-release` OSDIST=`cat /etc/redhat-release | sed -e 's/release.*$//g;s/\s//g'` + if [ "$OSDIST" == "CentOSLinux" ] ; then + OSDIST="CentOS" + fi PSUEDONAME=`cat /etc/redhat-release | sed s/.*\(// | sed s/\)//` RELEASE=`cat /etc/redhat-release | sed s/.*release\ // | sed s/\ .*//` MAJOR_RELEASE=`cat /etc/redhat-release | sed s/.*release\ // | sed s/\ .*// | cut -f1 -d"."` diff --git a/tools/bootstrap/CentOS b/tools/bootstrap/CentOS index b1379abd..e143c6d9 100644 --- a/tools/bootstrap/CentOS +++ b/tools/bootstrap/CentOS @@ -1,6 +1,6 @@ # -*- sh -*- -## Bootstrap for CentOS Linux 6.x +## Bootstrap for CentOS Linux 7.x SHORTNAME=CENTOS -MIN_RELEASE=6.0 +MIN_RELEASE=7.0 source "$BSCONF_DIR/CommonRedHat" diff --git a/tools/bootstrap/RedHatEnterpriseLinuxServer b/tools/bootstrap/RedHatEnterpriseLinuxServer index 4e200f94..c6d27f18 100644 --- a/tools/bootstrap/RedHatEnterpriseLinuxServer +++ b/tools/bootstrap/RedHatEnterpriseLinuxServer @@ -1,6 +1,6 @@ # -*- sh -*- -## Bootstrap for Redhat Enterprise Linux 6.x +## Bootstrap for Redhat Enterprise Linux 7.x SHORTNAME=RHEL -MIN_RELEASE=6.0 +MIN_RELEASE=7.0 source "$BSCONF_DIR/CommonRedHat"