Commit 7ff243f9 authored by longpanda's avatar longpanda
Browse files

Fix the media missing issue when boot UOS server ISO file.

parent f8811a46
...@@ -376,6 +376,14 @@ ventoy_get_os_type() { ...@@ -376,6 +376,14 @@ ventoy_get_os_type() {
if $GREP -q 'chimera' /proc/version; then if $GREP -q 'chimera' /proc/version; then
echo 'chimera'; return echo 'chimera'; return
fi fi
if $GREP -q '4.19.' /proc/version; then
if [ -d /lib/dracut/hooks ]; then
echo 'openEuler'; return
fi
fi
echo "default" echo "default"
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment