From 0630233afa6440473f0c04825f252c508e8c534b Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Thu, 25 Aug 2016 14:41:47 +0200 Subject: etcd module: add test for simple one node etcd service --- nixos/modules/services/misc/etcd.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/services/misc/etcd.nix') diff --git a/nixos/modules/services/misc/etcd.nix b/nixos/modules/services/misc/etcd.nix index 8a12e183aa3..d30cc5fd7e8 100644 --- a/nixos/modules/services/misc/etcd.nix +++ b/nixos/modules/services/misc/etcd.nix @@ -28,13 +28,13 @@ in { listenClientUrls = mkOption { description = "Etcd list of URLs to listen on for client traffic."; - default = ["http://localhost:2379"]; + default = ["http://127.0.0.1:2379"]; type = types.listOf types.str; }; listenPeerUrls = mkOption { description = "Etcd list of URLs to listen on for peer traffic."; - default = ["http://localhost:2380"]; + default = ["http://127.0.0.1:2380"]; type = types.listOf types.str; }; -- cgit 1.4.1