Commit f94d8d76 authored by Richard Brown's avatar Richard Brown Committed by Brad Davidson

Check /etc/os-release exists before sourcing it

parent 51b74517
......@@ -459,7 +459,7 @@ setup_selinux() {
rpm_site="rpm-testing.rancher.io"
fi
. /etc/os-release
[ -r /etc/os-release ] && . /etc/os-release
if [ "${ID_LIKE:-}" = suse ] ; then
policy_hint='k3s with SELinux is currently not supported on SUSE/openSUSE systems.
please disable SELinux before installing k3s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment