diff options
author | makefu <github@syntax-fehler.de> | 2015-10-23 15:38:01 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-10-23 15:38:01 +0200 |
commit | a1d05482e5527d32baef9d9343b900dee8d46694 (patch) | |
tree | 2de3ac509481799f6188620987cdf1678ea675a5 /lass/1systems/test-centos7.nix | |
parent | 709ebf6bbcc2e0d4644ed35cd42db47c4f2e78c5 (diff) | |
parent | 93dcfe5ad61903f90f422d9d6c97e499b240aa86 (diff) |
Merge remote-tracking branch 'cloudkrebs/master'
Diffstat (limited to 'lass/1systems/test-centos7.nix')
-rw-r--r-- | lass/1systems/test-centos7.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lass/1systems/test-centos7.nix b/lass/1systems/test-centos7.nix new file mode 100644 index 000000000..91bd3e0fe --- /dev/null +++ b/lass/1systems/test-centos7.nix @@ -0,0 +1,31 @@ +{ config, lib, pkgs, ... }: + +let + inherit (import ../4lib { inherit pkgs lib; }) getDefaultGateway; + inherit (lib) head; + + ip = "168.235.145.85"; +in { + imports = [ + ../2configs/base.nix + ../2configs/os-templates/CAC-CentOS-7-64bit.nix + { + networking.interfaces.enp2s1.ip4 = [ + { + address = ip; + prefixLength = 24; + } + ]; + networking.defaultGateway = getDefaultGateway ip; + networking.nameservers = [ + "8.8.8.8" + ]; + + } + { + sound.enable = false; + } + ]; + + krebs.build.host = config.krebs.hosts.test-centos7; +} |