X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=remote%2Flib.sh;h=f896727441677558aa3071a2d6c4334eddf4a71a;hp=58ffb638da47c45fe2ed359b858cb8aaf45fb523;hb=8e632f43794c0db9d02a4e3df0ca2eaaac09def2;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d diff --git a/remote/lib.sh b/remote/lib.sh index 58ffb63..f896727 100644 --- a/remote/lib.sh +++ b/remote/lib.sh @@ -1,4 +1,7 @@ -. "$tool"/etc/local.sh -set -x -test ! "$(hostname --fqdn)" = "$vm_fqdn" -test ! "$(hostname --fqdn)" = "$vm_host" +. "$tool"/etc/remote.sh +. "$tool"/lib/log.sh +#assert 'test ! "$(hostname --fqdn)" = "$local_fqdn"' +assert 'test ! "$(hostname --fqdn)" = "$local_host"' + +export TRACE=${TRACE-set} +test "$TRACE" = '' || set -x