From b6cbb51a666faf03fc922374eb9d137a09b11217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 9 Apr 2020 17:03:13 +0200 Subject: Fix prometheus0 static IP troubles --- prometheus.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prometheus.sh b/prometheus.sh index b5b0d94..72974e9 100755 --- a/prometheus.sh +++ b/prometheus.sh @@ -14,6 +14,12 @@ for f in ci.d/*; do source "$f"; done lxc_destroy lxc_create $DIST $RELEASE $ARCH lxc_wait_for_ip + +# Necessary because it's using a static IP address +# configured via dnsmasq and the network isn't ready +# when lxc_wait_for_ip returns. Oh well. +sleep 5 + pacman_upgrade pacman_install $PACKAGES -- cgit v1.2.3