mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Fix slemicro check for selinux (#8526)
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
This commit is contained in:
parent
00fc5a23ec
commit
a6acdd0d75
3
install.sh
Executable file → Normal file
3
install.sh
Executable file → Normal file
@ -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
Block a user