Documentation : ajoute des info() .
[lhc/ateliers.git] / vm_host
diff --git a/vm_host b/vm_host
index e855630..ba6461d 100755 (executable)
--- a/vm_host
+++ b/vm_host
@@ -44,7 +44,7 @@ rule_git_reset () {
        )
  }
 
-rule_vm_init () {
+rule_vm_configure () {
        mk_reg mod=644 own=root:root /etc/xen/$vm_fqdn.cfg <<-EOF
                #  -*- mode: python; -*-
                # DOC: http://wiki.xen.org/wiki/Xen_Linux_PV_on_HVM_drivers
@@ -92,9 +92,7 @@ rule_vm_start () {
  }
 rule_vm_attach () {
        assert '! pgrep -f "sudo xm console $vm_fqdn"'
-       cat <<-EOF
-               NOTE: Ctrl-] pour se détacher de la console
-               EOF
+       info 'Ctrl-] pour se détacher de la console'
        sudo xm console $vm_fqdn
  }
 rule_vm_stop () {
@@ -449,7 +447,6 @@ case $rule in
  (help);;
  (*)
        assert 'test "$(hostname --fqdn)" = "$vm_host"' vm_host
-       ${TRACE:+set -x}
        ;;
  esac
 rule $rule "$@"