diff options
author | lassulus <lass@aidsballs.de> | 2015-11-13 13:05:19 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-11-13 13:05:19 +0100 |
commit | a204949071a964584bf27889277c8890ed724979 (patch) | |
tree | ab9de05e79ab92cb86f22c6972c858286a101b44 /shared/1systems/test-centos6.nix | |
parent | f8fabf4ea6f15b0c7613846e38051f83ef887933 (diff) |
move testhosts to shared from lass
Diffstat (limited to 'shared/1systems/test-centos6.nix')
-rw-r--r-- | shared/1systems/test-centos6.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/shared/1systems/test-centos6.nix b/shared/1systems/test-centos6.nix new file mode 100644 index 000000000..a8b5f9b9c --- /dev/null +++ b/shared/1systems/test-centos6.nix @@ -0,0 +1,30 @@ +{ config, lib, pkgs, ... }: + +let + inherit (lib) head; + + ip = "168.235.148.52"; + gw = "168.235.148.1"; +in { + imports = [ + ../2configs/base.nix + ../2configs/os-templates/CAC-CentOS-6.5-64bit.nix + { + networking.interfaces.enp11s0.ip4 = [ + { + address = ip; + prefixLength = 24; + } + ]; + networking.defaultGateway = gw; + networking.nameservers = [ + "8.8.8.8" + ]; + } + { + sound.enable = false; + } + ]; + + krebs.build.host = config.krebs.hosts.test-centos6; +} |