azure-agent: remove x86 assertion
This commit is contained in:
@@ -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 ];
|
||||||
|
|||||||
Reference in New Issue
Block a user