Skip to content
Snippets Groups Projects
Commit e56d6f5c authored by ale's avatar ale
Browse files

always add localhost:4001 to the etcd server list

parent 098b72ea
Branches
Tags
No related merge requests found
...@@ -24,5 +24,5 @@ set_public_ip() { ...@@ -24,5 +24,5 @@ set_public_ip() {
set_etcd_params() { set_etcd_params() {
local default_etcd_server="etcd.${DOMAIN}" local default_etcd_server="etcd.${DOMAIN}"
ETCD_SERVER="${ETCD_SERVER:-${default_etcd_server}}" ETCD_SERVER="${ETCD_SERVER:-${default_etcd_server}}"
ETCD_OPTIONS="${ETCD_OPTIONS} --etcd-server=${ETCD_SERVER}" ETCD_OPTIONS="${ETCD_OPTIONS} --etcd-server=localhost:4001,${ETCD_SERVER}"
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment