qemush : fonction run -> do
This commit is contained in:
parent
af796e7006
commit
ac443d280a
2 changed files with 3 additions and 3 deletions
|
@ -88,7 +88,7 @@ folder located at `~qemu/bin`. You can add them directly via `qemush` from
|
||||||
this repo via the following command :
|
this repo via the following command :
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
qemush run 'mkdir -p ~/bin && cp -v qemu/bin/* "$_"'
|
qemush do 'mkdir -p ~/bin && cp -v qemu/bin/* "$_"'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Extra: add `first-free-port` in `PATH`
|
### Extra: add `first-free-port` in `PATH`
|
||||||
|
|
|
@ -47,7 +47,7 @@ ${name}: usage:
|
||||||
${name} shell - start a shell as user qemu
|
${name} shell - start a shell as user qemu
|
||||||
${name} help - show this help
|
${name} help - show this help
|
||||||
${name} add <path to script> [<VM name>] - add a launching script
|
${name} add <path to script> [<VM name>] - add a launching script
|
||||||
${name} run <command> - run shell input as user qemu
|
${name} do <command> - run shell input as user qemu
|
||||||
${name} depcheck - check if script dependencies are met
|
${name} depcheck - check if script dependencies are met
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
@ -120,7 +120,7 @@ public_add() {
|
||||||
trap - EXIT
|
trap - EXIT
|
||||||
}
|
}
|
||||||
|
|
||||||
public_run() {
|
public_do() {
|
||||||
exec sh -c "$*"
|
exec sh -c "$*"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue