mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
fix comment
This commit is contained in:
parent
0b1b197be6
commit
2bca0818af
@ -96,7 +96,6 @@ elif [ -n "${C10N_TOKEN}" ]; then
|
|||||||
/usr/bin/block-until-url $C10N_ENDPOINT
|
/usr/bin/block-until-url $C10N_ENDPOINT
|
||||||
|
|
||||||
IP=$(curl -s $META_URL/meta-data/local-ipv4)
|
IP=$(curl -s $META_URL/meta-data/local-ipv4)
|
||||||
# XXX: change to append a valid ETCD_PEERS to /usr/share/oem/etcd.env
|
|
||||||
ETCD_PEERS=$(curl -s $C10N_ENDPOINT -d "c10n_url=$C10N_TOKEN" -d"ip_list=$IP")
|
ETCD_PEERS=$(curl -s $C10N_ENDPOINT -d "c10n_url=$C10N_TOKEN" -d"ip_list=$IP")
|
||||||
echo "[Service]" > ${ETCD_SERVICE_D}/12-c10n.conf
|
echo "[Service]" > ${ETCD_SERVICE_D}/12-c10n.conf
|
||||||
for peer in $ETCD_PEERS; do
|
for peer in $ETCD_PEERS; do
|
||||||
|
Loading…
Reference in New Issue
Block a user