qemush : commande attach -> watch

This commit is contained in:
Ahurac 2024-01-25 14:42:59 +01:00
parent 12eeb64347
commit 7fbc153a2b

View file

@ -40,7 +40,7 @@ public_help() {
${name}: usage: ${name}: usage:
${name} running - (default behaviour) list running VMs ${name} running - (default behaviour) list running VMs
${name} start <VM name> - start a VM ${name} start <VM name> - start a VM
${name} watch <VM name> - attach VM screen session ${name} attach <VM name> - attach to the VM monitor socket
${name} ls - list available VMs ${name} ls - list available VMs
${name} edit <VM name> - edit VM launching script ${name} edit <VM name> - edit VM launching script
${name} rm <VM name> - delete launch script ${name} rm <VM name> - delete launch script
@ -76,7 +76,7 @@ public_start() {
# Attach to a running virtual machine output, the latest opened if no # Attach to a running virtual machine output, the latest opened if no
# argument is provided # argument is provided
public_watch() { public_attach() {
QEMUSH_NAME="$1" QEMUSH_NAME="$1"
shift shift