mirror of https://github.com/k3s-io/k3s
Check /etc/os-release exists before sourcing it
Signed-off-by: Richard Brown <rbrownccb@opensuse.org>pull/3918/head
parent
51b7451709
commit
f94d8d76a8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue