M #-: Fix fallback detection in onesysprep of RHEL/C6

pull/252/head
Vlastimil Holer 3 years ago
parent c228e8c00f
commit 0af852da61
No known key found for this signature in database
GPG Key ID: EB549BADEFD07C53

@ -495,9 +495,9 @@ syscheck()
# check for legacy RHEL/CentOS 6 # check for legacy RHEL/CentOS 6
elif [ -f /etc/centos-release ]; then elif [ -f /etc/centos-release ]; then
echo 'centos' _ONE_OS_ID='centos'
elif [ -f /etc/redhat-release ]; then elif [ -f /etc/redhat-release ]; then
echo 'rhel' _ONE_OS_ID='rhel'
else else
_ONE_OS_ID=$(uname | tr '[:upper:]' '[:lower:]') _ONE_OS_ID=$(uname | tr '[:upper:]' '[:lower:]')

Loading…
Cancel
Save