diff options
author | Jaka Hudoklin <jakahudoklin@gmail.com> | 2016-08-25 14:41:47 +0200 |
---|---|---|
committer | Jaka Hudoklin <jakahudoklin@gmail.com> | 2016-08-25 14:42:22 +0200 |
commit | 0630233afa6440473f0c04825f252c508e8c534b (patch) | |
tree | e4444ee7dd76a37410e009a397899b2c357fcd1e /nixos/modules/services/misc/etcd.nix | |
parent | 8256c07fc03625ea37ff2ebb29217c50e2ed6163 (diff) | |
download | nixpkgs-0630233afa6440473f0c04825f252c508e8c534b.tar nixpkgs-0630233afa6440473f0c04825f252c508e8c534b.tar.gz nixpkgs-0630233afa6440473f0c04825f252c508e8c534b.tar.bz2 nixpkgs-0630233afa6440473f0c04825f252c508e8c534b.tar.lz nixpkgs-0630233afa6440473f0c04825f252c508e8c534b.tar.xz nixpkgs-0630233afa6440473f0c04825f252c508e8c534b.tar.zst nixpkgs-0630233afa6440473f0c04825f252c508e8c534b.zip |
etcd module: add test for simple one node etcd service
Diffstat (limited to 'nixos/modules/services/misc/etcd.nix')
-rw-r--r-- | nixos/modules/services/misc/etcd.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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; }; |