X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=remote%2Flib.sh;h=3c7659f4aa45113a2b0e02a25fff6a845edb98eb;hp=58ffb638da47c45fe2ed359b858cb8aaf45fb523;hb=83b3ca83e8d9f263b25052cc1be78af145623857;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d diff --git a/remote/lib.sh b/remote/lib.sh index 58ffb63..3c7659f 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