mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 06:21:08 +02:00
dev-db/etcd: set ETCD_NAME to machine ID
Each node's name is required to be unique during bootstrapping.
This commit is contained in:
parent
34a49fc885
commit
1bedabb3ea
@ -5,6 +5,7 @@ Conflicts=etcd.service
|
|||||||
[Service]
|
[Service]
|
||||||
User=etcd
|
User=etcd
|
||||||
Environment=ETCD_DATA_DIR=/var/lib/etcd2
|
Environment=ETCD_DATA_DIR=/var/lib/etcd2
|
||||||
|
Environment=ETCD_NAME=%m
|
||||||
ExecStart=/usr/bin/etcd2
|
ExecStart=/usr/bin/etcd2
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10s
|
RestartSec=10s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user