X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=blobdiff_plain;f=vm_host;h=fc70bbaa5b39bbfa3a75216c0c475f3243b20252;hb=c6358beea0be57737b6a6980657b7b5744e51774;hp=0bf383d23d2198f44631aa9f0cf871ef7d318c77;hpb=2004b5241b88976b7090538c214a0bc881d7e785;p=lhc%2Fateliers.git diff --git a/vm_host b/vm_host index 0bf383d..fc70bba 100755 --- a/vm_host +++ b/vm_host @@ -3,7 +3,6 @@ set -e -f ${DRY_RUN:+-n} -u tool=${0%/*} . "$tool"/lib/functions.sh . "$tool"/etc/vm.sh -test "$(hostname --fqdn)" = "$vm_host" rule_help () { cat >&2 <<-EOF @@ -359,6 +358,7 @@ rule_debian_install () { dnsutils \ dropbear \ etckeeper \ + git-core \ gnupg \ hashalot \ htop \ @@ -434,5 +434,11 @@ rule__chroot_clean () { rule=${1:-help} ${1+shift} -set "${TRACE:+-x}" +case $rule in + (help);; + (*) + test "$(hostname --fqdn)" = "$vm_host" + set "${TRACE:+-x}" + ;; + esac rule_$rule "$@"