mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-05-27 13:34:24 -04:00
Fix issue when install Fedora 34 Server Edition
This commit is contained in:
parent
47e77e003c
commit
491f0bea8a
1 changed files with 6 additions and 0 deletions
|
@ -96,6 +96,12 @@ if $GREP -q el8 /proc/version; then
|
|||
vtNeedRepo="yes"
|
||||
fi
|
||||
|
||||
if $GREP -i -q Fedora /proc/version; then
|
||||
if $GREP -q 'Server Edition' /etc/os-release; then
|
||||
vtNeedRepo="yes"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$vtNeedRepo" = "yes" ]; then
|
||||
$BUSYBOX_PATH/cp -a $VTOY_PATH/hook/rhel7/ventoy-repo.sh /lib/dracut/hooks/pre-pivot/99-ventoy-repo.sh
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue