Modification : vm_{host,hosted,remote} -> {host,local,remote}/ .
[lhc/ateliers.git] / host / xen-vm-attach
1 #!/bin/sh -eu
2 tool=$(readlink -e "${0%/*}/..")
3 . "$tool"/host/lib.sh
4
5 ! pgrep -f "sudo xm console $vm_fqdn"
6 info 'Ctrl-] pour se détacher de la console'
7 sudo xm console $vm_fqdn