Skip to content
Snippets Groups Projects
Commit ae53fa76 authored by Benoit Donneaux's avatar Benoit Donneaux
Browse files

Load virtio modules and fix network devname

parent 714367d7
No related branches found
No related tags found
1 merge request!393Draft: Support QEmu local grid - DO NOT MERGE
Pipeline #4731 failed
......@@ -15,11 +15,11 @@
};
config = {
virtualisation.virtualbox.guest.enable = true;
#virtualisation.virtualbox.guest.enable = true;
boot.loader.grub.device = "/dev/vda";
boot.initrd.availableKernelModules = [ "ata_piix" "sd_mod" "sr_mod" ];
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_blk" "sd_mod" "sr_mod" ];
boot.kernel.sysctl = { "vm.swappiness" = 0; };
boot.kernelParams = [ "console=tty0" "console=ttyS0,115200" ];
......@@ -27,7 +27,7 @@
# your boot until you press *.
boot.initrd.checkJournalingFS = false;
networking.interfaces.enp0s8.ipv4.addresses = [{
networking.interfaces.ens5.ipv4.addresses = [{
address = config.grid.publicIPv4;
prefixLength = 24;
}];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment