fix unable to create 10-vfio.conf for dracut
This commit is contained in:
parent
d0d972cf9f
commit
eb3d9986ac
3 changed files with 5 additions and 3 deletions
|
@ -129,8 +129,10 @@ fi
|
|||
|
||||
if [ -f "/etc/dracut.conf" ];
|
||||
then
|
||||
# Create the dracut folder
|
||||
mkdir -p "$SCRIPTDIR/$DRACUT"
|
||||
# Create a dracut.conf.d file
|
||||
touch "$SCRIPTDIR/$DRACUT"
|
||||
touch "$SCRIPTDIR/$DRACUT/10-vfio.conf"
|
||||
fi
|
||||
|
||||
# Run ls-iommu so we can verify that IOMMU properly working
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue