Compare commits
2 commits
1d3d68926b
...
a658de6007
Author | SHA1 | Date | |
---|---|---|---|
|
a658de6007 | ||
|
9881409b40 |
2 changed files with 14 additions and 1 deletions
|
@ -16,6 +16,11 @@ exec_as qemu "$@"
|
|||
|
||||
bin=bin
|
||||
images=images
|
||||
if [ -t 1 ]; then
|
||||
cat=src-hilite-lesspipe.sh
|
||||
else
|
||||
cat=cat
|
||||
fi
|
||||
|
||||
PATH="./${bin}:${PATH}"
|
||||
EDITOR="${EDITOR:-nvim}"
|
||||
|
@ -101,6 +106,10 @@ public_shell() {
|
|||
bash -i
|
||||
}
|
||||
|
||||
public_cat() {
|
||||
"$cat" "${bin}/${1}"
|
||||
}
|
||||
|
||||
function="$1"
|
||||
shift
|
||||
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
#!/bin/sh -ex
|
||||
exec linux \
|
||||
-vga qxl -spice port=5900,addr=127.0.0.1,disable-ticketing=on \
|
||||
-vga qxl \
|
||||
-device virtio-serial \
|
||||
-chardev spicevmc,id=vdagent,debug=0,name=vdagent \
|
||||
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
|
||||
-spice port=5900,addr=127.0.0.1,disable-ticketing=on \
|
||||
"$@"
|
||||
|
|
Loading…
Reference in a new issue