X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=vm_host;h=ba6461dfcf68cd9b105dec01cfc6080a894cb2f4;hb=43dd7fe293ce4a22153053218645a1a6282ab485;hp=e855630ea1ca7eac475455c9944cb283889eaf02;hpb=2cba0a711f2964a8eafdf4698939b296024d05e8;p=lhc%2Fateliers.git diff --git a/vm_host b/vm_host index e855630..ba6461d 100755 --- 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 "$@"