[pve-devel] spice shell script

Dietmar Maurer dietmar at proxmox.com
Mon Mar 3 07:32:28 CET 2014


Hi all,

The spice API changed recently to avoid CSRF attacks (use POST instead of GET). So the shell
script to connect (originally posted by Alexandre) is now a bit more complicated.

I added a copy to /usr/share/doc/pve-manager/examples/spice-example-sh

see https://git.proxmox.com/?p=pve-manager.git;a=commitdiff;h=b282dec20f48ed5ecbe13c85242ff3e943671380

I am quite bad in writing shell script, so any help to improve and cleanup that script is appreciated.
Especially error handling needs to be improved.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20140303/65ba16ab/attachment.htm>


More information about the pve-devel mailing list