mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
fix(c10n): so close, use correct discovery url var
This commit is contained in:
parent
3c959167d8
commit
d5000081da
@ -86,7 +86,7 @@ fi
|
||||
if [ -n "${ETCD_DISCOVERY_URL}" ]; then
|
||||
echo "Using '${ETCD_DISCOVERY_URL}' as etcd discovery url"
|
||||
echo "[Service]
|
||||
Environment=ETCD_DISCOVERY=${ETCD_DISCOVERY}
|
||||
Environment=ETCD_DISCOVERY=${ETCD_DISCOVERY_URL}
|
||||
Environment=ETCD_NAME=${IP}" > ${ETCD_SERVICE_D}/21-c10n.conf
|
||||
# ...otherwise, we treat the provided user-data as a legacy c10n URL
|
||||
elif [ -n "${C10N_TOKEN}" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user