mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 11:32:02 +02:00
fix(dev-db/etcd): use new state location
have etcd use /var/lib like other daemons do.
This commit is contained in:
parent
5bd666247c
commit
db2708f2e8
@ -7,7 +7,7 @@ MY_IP=$(curl -s $META_URL/meta-data/local-ipv4)
|
|||||||
BOOTSTRAP="/var/run/etcd/bootstrap.config"
|
BOOTSTRAP="/var/run/etcd/bootstrap.config"
|
||||||
|
|
||||||
# for etcd
|
# for etcd
|
||||||
STATE=/media/state/etcd
|
STATE=/var/lib/etcd
|
||||||
mkdir -p $STATE
|
mkdir -p $STATE
|
||||||
|
|
||||||
[ ! -e $BOOTSTRAP ] && echo bootstrap config missing && exit 1
|
[ ! -e $BOOTSTRAP ] && echo bootstrap config missing && exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user