azure-common: take networkmanager users into account for accelerated networking
This commit is contained in:
parent
88c5242599
commit
94683f9e55
@ -30,6 +30,8 @@ in
|
|||||||
matchConfig.Driver = mlxDrivers;
|
matchConfig.Driver = mlxDrivers;
|
||||||
linkConfig.Unmanaged = "yes";
|
linkConfig.Unmanaged = "yes";
|
||||||
};
|
};
|
||||||
|
networking.networkmanager.unmanaged = lib.mkIf cfg.acceleratedNetworking
|
||||||
|
(builtins.map (drv: "driver:${drv}") mlxDrivers);
|
||||||
|
|
||||||
# Generate a GRUB menu.
|
# Generate a GRUB menu.
|
||||||
boot.loader.grub.device = "/dev/sda";
|
boot.loader.grub.device = "/dev/sda";
|
||||||
|
Loading…
Reference in New Issue
Block a user