Appliance Templates

hello all,

When I try to upload a precreated template from http://wiki.openvz.org/Download/template/precreated

I get "Error: unknown file extension - unable to detect template type"

can I use these templates? or should I place them directly into the proxmox

Thanks

hi,

this is a known bug on Firefox (and similar browsers). if you use IE6/IE7 it works.

if you cannot use IE6/7 just copy the template via scp to your Proxmox VE server (into /var/lib/vz/template/cache) and the template will appear on the web interface.
 
Browser bug???

hi,

this is a known bug on Firefox (and similar browsers). if you use IE6/IE7 it works.

if you cannot use IE6/7 just copy the template via scp to your Proxmox VE server (into /var/lib/vz/template/cache) and the template will appear on the web interface.


OK, i've seen this problem but, it's for the problem that firefox renames the
file withouth extensions?

In this case i think it's better to intercept the real content of the file with
the file command and rename it with the correct extension.

Example:

file weeblefm-1.2.2-CVS.tar.gz
weeblefm-1.2.2-CVS.tar.gz: gzip compressed data, from Unix, last modified: Mon Jul 11 18:53:14 2005
diaolin@server:~$ mv weeblefm-1.2.2-CVS.tar.gz weeblefm-1.2.2-CVS.tar
diaolin@server:~$ file weeblefm-1.2.2-CVS.tar
weeblefm-1.2.2-CVS.tar: gzip compressed data, from Unix, last modified: Mon Jul 11 18:53:14 2005


Even renaming the file the result of file command is the same.

Or????

From the form (browser) if you read the content you have the file
and if you read the parameters as scalar it gives the name of the
uploaded file.

I use this in all my apps and it works even with firefox*

Tx, Diaolin