qemush : damn, la fonction cat avait disparu
This commit is contained in:
parent
c35664f775
commit
97fb16f624
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# version=0.10.0
|
# version=0.10.1
|
||||||
|
|
||||||
# Re-exec the script as qemu via sudo (only if needed)
|
# Re-exec the script as qemu via sudo (only if needed)
|
||||||
[ "$(whoami)" != qemu ] && exec sudo -E -H -u qemu -- "$0" "$@"
|
[ "$(whoami)" != qemu ] && exec sudo -E -H -u qemu -- "$0" "$@"
|
||||||
|
@ -29,6 +29,7 @@ ${name}: usage:
|
||||||
${name} ls - list available VMs
|
${name} ls - list available VMs
|
||||||
${name} add <path to script> [<VM name>] - add a launching script
|
${name} add <path to script> [<VM name>] - add a launching script
|
||||||
${name} edit <VM name> - edit VM launching script
|
${name} edit <VM name> - edit VM launching script
|
||||||
|
${name} cat <VM name> - print the content of a launching script
|
||||||
${name} start <VM name> - start a VM
|
${name} start <VM name> - start a VM
|
||||||
${name} attach <VM name> - attach to the VM monitor socket
|
${name} attach <VM name> - attach to the VM monitor socket
|
||||||
${name} rm <VM name> - delete launch script
|
${name} rm <VM name> - delete launch script
|
||||||
|
@ -206,7 +207,7 @@ case "$1" in
|
||||||
"")
|
"")
|
||||||
public_running
|
public_running
|
||||||
;;
|
;;
|
||||||
running|ls|add|edit|start|attach|rm|diskls|diskadd|diskrm|shell|do|spice|help)
|
running|ls|add|edit|cat|start|attach|rm|diskls|diskadd|diskrm|shell|do|spice|help)
|
||||||
function=$1
|
function=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue