prometheus-node-exporter-lua: fix waiting for interface 18750/head
authorEtienne Champetier <champetier.etienne@gmail.com>
Mon, 13 Jun 2022 03:03:06 +0000 (23:03 -0400)
committerEtienne Champetier <champetier.etienne@gmail.com>
Mon, 13 Jun 2022 03:07:00 +0000 (23:07 -0400)
commit1dd46bca627a876158a05be14a0c91948d037445
tree3d6d53c75120693ff100f62e64bd3c7ee9b861ed
parent0c74ab9a790c81ff57ad1d7741489bf5e1839839
prometheus-node-exporter-lua: fix waiting for interface

Instead of waiting for interface to be up,
wait for it to have IPs, as this is what we need.

Also do not call procd_open_instance when not ready.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
utils/prometheus-node-exporter-lua/Makefile
utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua