We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f51fd5 commit 276cfd9Copy full SHA for 276cfd9
internal/configs/config_dracut.go
@@ -31,9 +31,9 @@ func Set_Dracut() {
31
kernel_args := fileio.ReadFile(config.Path.CMDLINE)
32
33
// If the kernel argument is not already in the file
34
- if !strings.Contains(kernel_args, "rd.driver.pre=vfio_pci") {
+ if !strings.Contains(kernel_args, "rd.driver.pre=vfio-pci") {
35
// Add to our kernel arguments file that vfio_pci should load early (dracut does this using kernel arguments)
36
- fileio.AppendContent(" rd.driver.pre=vfio_pci", config.Path.CMDLINE)
+ fileio.AppendContent(" rd.driver.pre=vfio-pci", config.Path.CMDLINE)
37
}
38
39
// Make a backup of dracutConf if there is one there
0 commit comments