monitor libvirt for both master and 1.0
[build.git] / vbuild-nightly.sh
index 622a420..2479441 100755 (executable)
@@ -128,7 +128,7 @@ function failure() {
     set -x
     # early stage ? - let's not create /build/@PLDISTRO@
     if test -z "$WEBLOG" ; then
-       WEBHOST=localhost
+       WEBHOST=$(hostname)
        WEBPATH=/tmp
        WEBBASE=/tmp/vbuild-early-$(date +%Y-%m-%d)
        WEBLOG=/tmp/vbuild-early-$(date +%Y-%m-%d).log.txt
@@ -157,7 +157,7 @@ function success () {
     set -x
     # early stage ? - let's not create /build/@PLDISTRO@
     if test -z "$WEBLOG" ; then
-       WEBHOST=localhost
+       WEBHOST=$(hostname)
        WEBPATH=/tmp
        WEBLOG=/tmp/vbuild-early-$(date +%Y-%m-%d).log.txt
     fi