mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-04 20:11:04 +02:00
fix(dev-db/etcd): set name in bootstrap
by default set the name of the etcd machine to the `${HOSTNAME}`
This commit is contained in:
parent
969ec91d6e
commit
58a6bf6d7a
@ -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..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user