mirror of https://github.com/k3s-io/k3s.git
Fix slemicro check for selinux (#8526)
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>pull/8554/head
parent
00fc5a23ec
commit
a6acdd0d75
|
@ -509,7 +509,7 @@ setup_selinux() {
|
|||
rpm_target=sle
|
||||
rpm_site_infix=microos
|
||||
package_installer=zypper
|
||||
if [ "${ID_LIKE:-}" = suse ] && [ "${VARIANT_ID:-}" = sle-micro ]; then
|
||||
if [ "${ID_LIKE:-}" = suse ] && ( [ "${VARIANT_ID:-}" = sle-micro ] || [ "${ID:-}" = sle-micro ] ); then
|
||||
rpm_target=sle
|
||||
rpm_site_infix=slemicro
|
||||
package_installer=zypper
|
||||
|
@ -1045,3 +1045,4 @@ eval set -- $(escape "${INSTALL_K3S_EXEC}") $(quote "$@")
|
|||
create_service_file
|
||||
service_enable_and_start
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue