update kernel_args

This commit is contained in:
HikariKnight 2022-02-27 19:18:09 +01:00
parent 5c3a17717e
commit d2c3715ce1
No known key found for this signature in database
GPG key ID: E8B239063B022F5A

View file

@ -21,6 +21,10 @@ vfio_virqfd
# Assign the GPU device ids to a variable
GPU_DEVID="$1"
# Update the kernel_args file
CMDLINE=$(cat "$SCRIPTDIR/config/kernel_args")
echo "$CMDLINE vfio_pci.ids=$GPU_DEVID" > "$SCRIPTDIR/config/kernel_args"
# Ask if we shall disable video output on this card
read -p "Do you want to force disable video output in linux on this card? [Y/n]: " DISABLE_VGA
case "${DISABLE_VGA}" in