From 86f639b6703b4e26f4d424a67fad9569505de4d9 Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Wed, 19 May 2021 14:29:51 +0200 Subject: [PATCH] M #-: onesysprep add Alma, Rocky, OL flavours --- src/usr/sbin/onesysprep | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/usr/sbin/onesysprep b/src/usr/sbin/onesysprep index 5533546..b4da946 100755 --- a/src/usr/sbin/onesysprep +++ b/src/usr/sbin/onesysprep @@ -476,7 +476,7 @@ syscheck() debian|ubuntu|devuan) return 0 ;; - fedora|centos|rhel) + fedora|centos|rhel|almalinux|ol|rocky) return 0 ;; opensuse*) @@ -516,7 +516,7 @@ enter_single_mode() return 0 fi ;; - debian|ubuntu|devuan|fedora|centos|rhel|altlinux|opensuse*) + debian|ubuntu|devuan|fedora|centos|rhel|almalinux|ol|rocky|altlinux|opensuse*) _runlevel=$(runlevel | cut -d" " -f2) case "$_runlevel" in 1|S) @@ -552,7 +552,7 @@ enter_single_mode() msg "Entering single user mode..." rc single ;; - debian|ubuntu|devuan|fedora|centos|rhel|altlinux|opensuse*) + debian|ubuntu|devuan|fedora|centos|rhel|almalinux|ol|rocky|altlinux|opensuse*) ask_to_enter_single_user_mode msg "Entering single user mode..." telinit 1