nixos/miniupnpd: update test to use pkgs.miniupnpc_2
This commit is contained in:
parent
dff50d1959
commit
496d9f97e6
@ -47,7 +47,7 @@ in
|
|||||||
|
|
||||||
client1 =
|
client1 =
|
||||||
{ pkgs, nodes, ... }:
|
{ pkgs, nodes, ... }:
|
||||||
{ environment.systemPackages = [ pkgs.miniupnpc pkgs.netcat ];
|
{ environment.systemPackages = [ pkgs.miniupnpc_2 pkgs.netcat ];
|
||||||
virtualisation.vlans = [ 2 ];
|
virtualisation.vlans = [ 2 ];
|
||||||
networking.defaultGateway = internalRouterAddress;
|
networking.defaultGateway = internalRouterAddress;
|
||||||
networking.interfaces.eth1.ipv4.addresses = [
|
networking.interfaces.eth1.ipv4.addresses = [
|
||||||
@ -63,7 +63,7 @@ in
|
|||||||
|
|
||||||
client2 =
|
client2 =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{ environment.systemPackages = [ pkgs.miniupnpc ];
|
{ environment.systemPackages = [ pkgs.miniupnpc_2 ];
|
||||||
virtualisation.vlans = [ 1 ];
|
virtualisation.vlans = [ 1 ];
|
||||||
networking.interfaces.eth1.ipv4.addresses = [
|
networking.interfaces.eth1.ipv4.addresses = [
|
||||||
{ address = externalClient2Address; prefixLength = 24; }
|
{ address = externalClient2Address; prefixLength = 24; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user