diff options
author | Loïc Hoguin <[email protected]> | 2020-04-09 17:03:13 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-04-09 17:03:13 +0200 |
commit | b6cbb51a666faf03fc922374eb9d137a09b11217 (patch) | |
tree | ba002f163541f48ec73ca8f5835abcba49b36297 | |
parent | f06317cd4a2de3f3c280fe787a92838760c02ceb (diff) | |
download | ci-b6cbb51a666faf03fc922374eb9d137a09b11217.tar.gz ci-b6cbb51a666faf03fc922374eb9d137a09b11217.tar.bz2 ci-b6cbb51a666faf03fc922374eb9d137a09b11217.zip |
Fix prometheus0 static IP troubles
-rwxr-xr-x | prometheus.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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 |