We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c228e8c commit 0af852dCopy full SHA for 0af852d
1 file changed
src/usr/sbin/onesysprep
@@ -495,9 +495,9 @@ syscheck()
495
496
# check for legacy RHEL/CentOS 6
497
elif [ -f /etc/centos-release ]; then
498
- echo 'centos'
+ _ONE_OS_ID='centos'
499
elif [ -f /etc/redhat-release ]; then
500
- echo 'rhel'
+ _ONE_OS_ID='rhel'
501
502
else
503
_ONE_OS_ID=$(uname | tr '[:upper:]' '[:lower:]')
0 commit comments