Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 11 lines (7 sloc) 0.281 kb
#!/bin/bash
onevm_show="$(onevm show $1)"
PORT=$(echo "$onevm_show"|grep PORT|grep -o '[0-9]\+')
HOST=$(echo "$onevm_show"|grep ^HOST|awk '{print $NF}')
[ -z "$HOST" ] && echo "no host found" && exit 1
[ -z "$PORT" ] && echo "no port found" && exit 1
${2:-vinagre} $HOST::$PORT
Jump to Line
Something went wrong with that request. Please try again.