From 58a6bf6d7ae02de362a5b6e9db36b003e95975b5 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Mon, 23 Dec 2013 23:22:19 -0800 Subject: [PATCH] fix(dev-db/etcd): set name in bootstrap by default set the name of the etcd machine to the `${HOSTNAME}` --- .../third_party/coreos-overlay/dev-db/etcd/files/etcd-bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/dev-db/etcd/files/etcd-bootstrap b/sdk_container/src/third_party/coreos-overlay/dev-db/etcd/files/etcd-bootstrap index 2b6e6c8622..2ac1fd41a9 100755 --- a/sdk_container/src/third_party/coreos-overlay/dev-db/etcd/files/etcd-bootstrap +++ b/sdk_container/src/third_party/coreos-overlay/dev-db/etcd/files/etcd-bootstrap @@ -2,7 +2,7 @@ VIRT=$(coreos-detect-virt) STATE=/var/lib/etcd -DEFAULT_ARGS="-d $STATE -f -cl 0.0.0.0" +DEFAULT_ARGS="-d $STATE -f -cl 0.0.0.0 -n ${HOSTNAME}" if [ "${VIRT}" != "ec2" ]; then echo "Detected environment \"${VIRT}\", just starting solo master..."