summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-12-19 16:02:52 +0100
committermakefu <github@syntax-fehler.de>2015-12-19 16:02:52 +0100
commit0971df6a745fd358ac9e4904d44ad48fbf0e8b6d (patch)
tree240393fede28289a9e81f5fc9ddbd451349d626a
parentf9d652d98ae9b4d6a1f1f7a5e97e117f4b292c82 (diff)
s 1 test-centos7: prepare to use generated networking
-rw-r--r--shared/1systems/test-centos7.nix20
1 files changed, 2 insertions, 18 deletions
diff --git a/shared/1systems/test-centos7.nix b/shared/1systems/test-centos7.nix
index 51e9960..077a5d6 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;
}