-Allow noderange wvid to VM via flock regulated vncviewer startup. Still a race condition, would require patched vnc to do better.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
37031718dc
commit
66f4ba40e8
@ -3,4 +3,10 @@
|
||||
myport=${rvid_vncdisplay#*:}
|
||||
let myport=myport-5900;
|
||||
export VNC_VIA_CMD='/usr/bin/ssh -o BatchMode=yes -f -L "$L":"$H":"$R" "$G" sleep 20'
|
||||
vncviewer :$myport -via $rvid_server AutoSelect=0 FullColor=1 >& /dev/null
|
||||
(
|
||||
flock 200
|
||||
vncviewer :$myport -via $rvid_server AutoSelect=0 FullColor=1 >& /dev/null &
|
||||
sleep 0.2
|
||||
flock -u 200
|
||||
) 200> /tmp/xcat/virtvnclock
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user