3
0
Fork 0
forked from mirrors/nixpkgs

nixos/miniupnpd: update test to use pkgs.miniupnpc_2

This commit is contained in:
Aaron Andersen 2019-05-12 07:53:30 -04:00
parent dff50d1959
commit 496d9f97e6

View file

@ -47,7 +47,7 @@ in
client1 =
{ pkgs, nodes, ... }:
{ environment.systemPackages = [ pkgs.miniupnpc pkgs.netcat ];
{ environment.systemPackages = [ pkgs.miniupnpc_2 pkgs.netcat ];
virtualisation.vlans = [ 2 ];
networking.defaultGateway = internalRouterAddress;
networking.interfaces.eth1.ipv4.addresses = [
@ -63,7 +63,7 @@ in
client2 =
{ pkgs, ... }:
{ environment.systemPackages = [ pkgs.miniupnpc ];
{ environment.systemPackages = [ pkgs.miniupnpc_2 ];
virtualisation.vlans = [ 1 ];
networking.interfaces.eth1.ipv4.addresses = [
{ address = externalClient2Address; prefixLength = 24; }