Polissage.
[lhc/ateliers.git] / vm_host
diff --git a/vm_host b/vm_host
index 0bf383d..fc70bba 100755 (executable)
--- 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 "$@"