Changeset 3597 in MondoRescue for branches/3.2/mindi/mindi


Ignore:
Timestamp:
Jul 8, 2016, 4:18:26 PM (8 years ago)
Author:
Bruno Cornec
Message:

Boot loader is the same for CentOS than RHEL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3596 r3597  
    21402140                dname=`pbdistrocheck | grep -E '^Name:' | cut -d':' -f2`
    21412141                dver=`pbdistrocheck | grep -E '^Ver:' | cut -d':' -f2`
    2142                 if [ $dname = "rhel" ] && [ $dver = "6" ]; then
     2142                if [ $dname = "rhel" || $dname = "centos" ] && [ $dver = "6" ]; then
    21432143                    boottype=grub
    2144                 elif [ $dname = "rhel" ] && [ $dver = "7" ]; then
     2144                elif [ $dname = "rhel" || $dname = "centos" ] && [ $dver = "7" ]; then
    21452145                    boottype=grub2
    21462146                elif [ $dname = "debian" ] && [ $dver = "8" ]; then
Note: See TracChangeset for help on using the changeset viewer.