Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (7 sloc) 150 Bytes
#!/bin/bash
PORT=$(onevm show $1|grep PORT|grep -o '[0-9]\+')
if [ -n "$PORT" ]; then
vncviewer localhost::$PORT
else
echo no port found.
fi