From: Dobrica Pavlinusic Date: Wed, 25 Jul 2018 14:00:52 +0000 (+0200) Subject: create /dev/shm/instance, fix domain X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=b2ee7c63d8988cd2d287108e576f53b37f1fd2b2;p=gnt-info create /dev/shm/instance, fix domain --- diff --git a/gnt-vnc.sh b/gnt-vnc.sh index 1b30fa2..be8237e 100755 --- a/gnt-vnc.sh +++ b/gnt-vnc.sh @@ -1,4 +1,4 @@ #!/bin/sh -e -gnt-instance info $1 | grep 'console connection:' | tr -d '()' | tr ':' ' ' | awk '{ print "ssh -L "$6":"$5":"$6" "$8"\nvncviewer localhost:"$10 }' +gnt-instance info $1 | tee /dev/shm/$1 | grep 'console connection:' | tr -d '()' | tr ':' ' ' | awk '{ print "ssh -L "$6":"$5":"$6" "$8"\nvncviewer localhost:"$10 }' | sed "s/\.gnt\.ffzg\.hr/.net.ffzg.hr/"