From 5821d8438578db623a3e248c52fefa424fad0b51 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 19 Dec 2015 16:02:52 +0100 Subject: [PATCH] s 1 test-centos7: prepare to use generated networking --- shared/1systems/test-centos7.nix | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/shared/1systems/test-centos7.nix b/shared/1systems/test-centos7.nix index 51e99600c..077a5d61b 100644 --- a/shared/1systems/test-centos7.nix +++ b/shared/1systems/test-centos7.nix @@ -3,29 +3,13 @@ let inherit (lib) head; - ip = "168.235.145.85"; - gw = "168.235.145.1"; in { imports = [ ../2configs/base.nix ../2configs/os-templates/CAC-CentOS-7-64bit.nix - { - networking.interfaces.enp2s1.ip4 = [ - { - address = ip; - prefixLength = 24; - } - ]; - networking.defaultGateway = gw; - networking.nameservers = [ - "8.8.8.8" - ]; - - } - { - sound.enable = false; - } + ../2configs/os-templates/temp-networking.nix ]; + sound.enable = false; krebs.build.host = config.krebs.hosts.test-centos7; }