diff --git a/internal/constants/constants.go b/internal/constants/constants.go index a1089ca..89f17bd 100644 --- a/internal/constants/constants.go +++ b/internal/constants/constants.go @@ -14,8 +14,58 @@ func GetCloudInitPaths() []string { // GenericKernelDrivers returns a list of generic kernel drivers to insmod during uki mode // as they could be useful for a lot of situations. func GenericKernelDrivers() []string { - return []string{"virtio", "ata_piix", "cdrom", "ext4", "iso9660", "usb_storage", "ahci", "fat", "vfat", "uas", "isofs", - "virtio_blk", "virtio_scsi", "virtio_net", "nvme", "overlay", "libata", "sr_mod", "simpledrm", "loop", "fuse"} + return []string{ + "af_packet", + "ahci", + "ahcpi-plaftorm", + "ata_generic", + "ata_piix", + "cdrom", + "dm_mod", + "e1000", + "e1000e", + "ehci_hcd", + "ehci_pci", + "ext2", + "ext4", + "fat", + "fuse", + "hid-generic", + "iso9660", + "isofs", + "libahcpi-platform", + "libata", + "loop", + "nls_cp437", + "nls_iso8859_1", + "nvme", + "ohci_hcd", + "ohci_pci", + "overlay", + "paride", + "part_msdos", + "pata_acpi", + "scsi_mod", + "sd_mod", + "simpledrm", + "squashfs", + "sr_mod", + "uas", + "uhci_hcd", + "usb_common", + "usbcore", + "usbhid", + "usbms", + "usb_storage", + "vfat", + "virtio", + "virtio_blk", + "virtio_net", + "virtio_pci", + "virtio_scsi", + "xhci_hcd", + "xhci_pci", + } } var ErrAlreadyMounted = errors.New("already mounted")