summary refs log tree commit diff
path: root/nixos/tests/prometheus-exporters.nix
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-04-23 23:34:26 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-04-23 23:34:26 +0200
commitfc55a1bdd4a863e354c3b7fa8bf19fb874949124 (patch)
tree3bd6f9ed73a15aea5bbb7b8751a87f824a2c5db2 /nixos/tests/prometheus-exporters.nix
parent65234f091107959952095e2e45f5a4dd1d087004 (diff)
downloadnixpkgs-fc55a1bdd4a863e354c3b7fa8bf19fb874949124.tar
nixpkgs-fc55a1bdd4a863e354c3b7fa8bf19fb874949124.tar.gz
nixpkgs-fc55a1bdd4a863e354c3b7fa8bf19fb874949124.tar.bz2
nixpkgs-fc55a1bdd4a863e354c3b7fa8bf19fb874949124.tar.lz
nixpkgs-fc55a1bdd4a863e354c3b7fa8bf19fb874949124.tar.xz
nixpkgs-fc55a1bdd4a863e354c3b7fa8bf19fb874949124.tar.zst
nixpkgs-fc55a1bdd4a863e354c3b7fa8bf19fb874949124.zip
nixos/tests/prometheus-exporters/bird: set router id
Previously bird would refuse to start up because the router id wasn't
set.

> bird[682]: Cannot determine router ID, please configure it manually
Diffstat (limited to 'nixos/tests/prometheus-exporters.nix')
-rw-r--r--nixos/tests/prometheus-exporters.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix
index cf3518286fd..9aa430c25a4 100644
--- a/nixos/tests/prometheus-exporters.nix
+++ b/nixos/tests/prometheus-exporters.nix
@@ -118,6 +118,8 @@ let
       metricProvider = {
         services.bird2.enable = true;
         services.bird2.config = ''
+          router id 127.0.0.1;
+
           protocol kernel MyObviousTestString {
             ipv4 {
               import all;