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

This commit is contained in:
longpanda 2023-07-30 12:58:29 +08:00
parent f8811a4656
commit 7ff243f9bb
1 changed files with 8 additions and 0 deletions

View File

@ -376,6 +376,14 @@ ventoy_get_os_type() {
if $GREP -q 'chimera' /proc/version; then
echo 'chimera'; return
fi
if $GREP -q '4.19.' /proc/version; then
if [ -d /lib/dracut/hooks ]; then
echo 'openEuler'; return
fi
fi
echo "default"
}