From c4c05fc073958c1c1a6c600632ebf92139ffbdd9 Mon Sep 17 00:00:00 2001 From: longpanda Date: Thu, 28 Apr 2022 22:18:02 +0800 Subject: [PATCH] Add support for EulerOS --- IMG/cpio/ventoy/ventoy_chain.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index 919632ea..f6a807ed 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -93,7 +93,10 @@ ventoy_get_os_type() { # Fedora : do the same process with rhel7 elif $GREP -q '\.fc[0-9][0-9]\.' /proc/version; then echo 'rhel7'; return - + + elif $GREP -q 'euleros' /proc/version; then + echo 'rhel7'; return + # SUSE elif $GREP -q 'SUSE' /proc/version; then echo 'suse'; return