From f60bb055a80419a94fa462b7ddd965a96362011c Mon Sep 17 00:00:00 2001 From: catborise Date: Mon, 27 Jun 2022 10:49:42 +0300 Subject: [PATCH] add almalinux support for installation --- dev/libvirt-bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/libvirt-bootstrap.sh b/dev/libvirt-bootstrap.sh index f51c06c..8a3cdfe 100644 --- a/dev/libvirt-bootstrap.sh +++ b/dev/libvirt-bootstrap.sh @@ -111,7 +111,7 @@ __parse_version_string() { # enough. #------------------------------------------------------------------------------- __sort_release_files() { - KNOWN_RELEASE_FILES=$(echo "(arch|centos|debian|ubuntu|fedora|redhat|suse|\ + KNOWN_RELEASE_FILES=$(echo "(arch|centos|almalinux|rocky|debian|ubuntu|fedora|redhat|suse|\ mandrake|mandriva|gentoo|slackware|turbolinux|unitedlinux|lsb|system|\ os)(-|_)(release|version)" | sed -r 's:[[:space:]]::g') primary_release_files="" @@ -208,6 +208,7 @@ __gather_linux_system_info() { ;; arch ) n="Arch Linux" ;; centos ) n="CentOS" ;; + almalinux ) n="AlmaLinux" ;; debian ) n="Debian" ;; ubuntu ) n="Ubuntu" ;; fedora ) n="Fedora" ;;