mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
azure-agent: remove x86 assertion
This commit is contained in:
parent
2cd969c108
commit
0799550a95
1 changed files with 3 additions and 8 deletions
|
@ -11,7 +11,6 @@ let
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
###### interface
|
###### interface
|
||||||
|
@ -35,13 +34,9 @@ in
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
assertions = [{
|
assertions = [{
|
||||||
assertion = pkgs.stdenv.hostPlatform.isx86;
|
assertion = config.networking.networkmanager.enable == false;
|
||||||
message = "Azure not currently supported on ${pkgs.stdenv.hostPlatform.system}";
|
message = "Windows Azure Linux Agent is not compatible with NetworkManager";
|
||||||
}
|
}];
|
||||||
{
|
|
||||||
assertion = config.networking.networkmanager.enable == false;
|
|
||||||
message = "Windows Azure Linux Agent is not compatible with NetworkManager";
|
|
||||||
}];
|
|
||||||
|
|
||||||
boot.initrd.kernelModules = [ "ata_piix" ];
|
boot.initrd.kernelModules = [ "ata_piix" ];
|
||||||
networking.firewall.allowedUDPPorts = [ 68 ];
|
networking.firewall.allowedUDPPorts = [ 68 ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue