l 1 echelon: get ip in a more general way

This commit is contained in:
lassulus 2015-10-17 15:58:12 +02:00
parent bcec400b1e
commit 7ec8d26716

View file

@ -4,7 +4,7 @@ let
inherit (import ../4lib { inherit pkgs lib; }) getDefaultGateway;
inherit (lib) head;
ip = (head config.krebs.hosts.echelon.nets.internet.addrs4);
ip = (head config.krebs.build.host.nets.internet.addrs4);
in {
imports = [
../2configs/os-templates/CAC-CentOS-7-64bit.nix