about summary refs log tree commit diff
path: root/nixos/tests/flannel.nix
diff options
context:
space:
mode:
authorJohan Thomsen <jth@dbc.dk>2019-02-12 18:26:08 +0100
committerJohan Thomsen <jth@dbc.dk>2019-02-12 18:26:39 +0100
commitadc9da617884b240f3799875b8e3b1ae3ae3185e (patch)
tree13f641c9e6cb6a9b13309da5c991e42a2cc33f3d /nixos/tests/flannel.nix
parent9522ca5ce98af6a5b227adaa5164697385150366 (diff)
nixos/flannel: fix flannel nixos test, add test to all-tests.nix
Diffstat (limited to 'nixos/tests/flannel.nix')
-rw-r--r--nixos/tests/flannel.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/tests/flannel.nix b/nixos/tests/flannel.nix
index fb66fe282090e..0b261a6847727 100644
--- a/nixos/tests/flannel.nix
+++ b/nixos/tests/flannel.nix
@@ -21,8 +21,9 @@ import ./make-test.nix ({ pkgs, ...} : rec {
       services = {
         etcd = {
           enable = true;
-          listenClientUrls = ["http://etcd:2379"];
-          listenPeerUrls = ["http://etcd:2380"];
+          listenClientUrls = ["http://0.0.0.0:2379"]; # requires ip-address for binding
+          listenPeerUrls = ["http://0.0.0.0:2380"]; # requires ip-address for binding
+          advertiseClientUrls = ["http://etcd:2379"];
           initialAdvertisePeerUrls = ["http://etcd:2379"];
           initialCluster = ["etcd=http://etcd:2379"];
         };