From 4100e7a886befdd83c5eb920baa471c165677bf1 Mon Sep 17 00:00:00 2001 From: longpanda Date: Tue, 26 Jul 2022 23:08:40 +0800 Subject: [PATCH] Fix the repo missing for Kylin V10 SP2 Server --- IMG/cpio/ventoy/ventoy_chain.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index f6a807ed..fbde4c87 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -362,6 +362,13 @@ ventoy_get_os_type() { fi + #Kylin V10 Server + if [ -f /usr/sbin/dhclient ]; then + if $BUSYBOX_PATH/strings /usr/sbin/dhclient | $GREP -i -q -m1 openeuler; then + echo 'openEuler'; return + fi + fi + echo "default" }