Injecting proxy configuration into remote-viewer (RHEV/oVirt console)
One of the things that bother me is that I have not been able to find an easy
way to change proxy settings when using the remote-viewer
tool to connect
to RHEV/oVirt virtual machines.
Finally I managed to put some thought into how to handle this situation -- and
the easiest way I found is just to puto a wrapper into remote-viewer
so whenver
it's invoked via the browser, it can do all required mangling of the *.vv
file
we just downloaded.
The virt-viwer *.vv
files are just INI files so updating them is usually
quite easy via :
All in all, my wrapper looks like this :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
And then you just need to instruct your browser to launch remote-viewer.sh
rather
than remote-viewer
to have your proxy settings automatically added.
Happy hacking!