mirror of https://github.com/ventoy/Ventoy.git
Fix the media missing issue when boot UOS server ISO file.
This commit is contained in:
parent
f8811a4656
commit
7ff243f9bb
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue