Suggestion: ISO image upload

c-s-fnet

Renowned Member
Mar 30, 2009
6
0
66
Hi,

I just needed to upload a Debian ISO image to my Proxmox server. As I have a slow connection
and uploading via the "Upload File" form would be terribly slow. So I downloaded the image
directly from a Debian mirror using a ssh console and wget.

Sometimes I don't have enough access rights to use ssh (in hotel with restrictive firewall for example)

Suggestion:
Additional to the "Upload File" add a form "Download from URL (HTTP/FTP)"


Regards

Andreas
 
..I don't quite get your UseCase, sorry.
In a situation where a hotel FW is blocking shh access to your host....but access to the proxmox UI via HTTP is possible in the same case
...that would mean you did open it to the public, yes??...without the help of a VPN in-between?!?...that means calling for trouble :rolleyes:

Well, so be it...I can see two easy solutions:
- install a real VPN in between and your troubles with hotel firewalls should be history
- install webmin to your host and you can have your feature as requested...
 
Hi,

the hotel case was just an example (maybe a bad one). We all know our ways around restrictive firewalls.
This is more a "nice-to-have" feature than a "I can't live without it'.

The UI isn't open to public, it's behind a VPN. Today when uploading I didn't have the SSH key
with me to login into Proxmox so I had to drive to the office to get it. At that time I thought
"It would be nice to just copy the image URL into the UI, klick download, wait some minutes
and go on".

Your webmin solution should work, but isn't nice: I don't want more complexity
than necessary; if I have the choice, I prefer the built-in solution (if there is one).

Regards

Andreas
 
...that explains your case better, thanks.
This feature would also allow for downloading larger ISOs, beyond the current restrictions of the web-upload UI.

...since I use webmin for all my VMs, I had no reason not to deploy it to the host as well...running of debian anyways..
 
You can ssh into your server, and wget the ISO. You should download it to dir /var/lib/vz/template/iso/
 
Why don't you set up a share to keep all your ISOs on? Then just add it as an NFS ISO share to the Proxmox box. That way you can easily upload your ISOs to another NAS/server and share the ISO directory out over NFS, SMB, AFP, SFTP/SSH, whatever you find secure and acceptable. Now you also have a central repo for all your ISOs without taking (maybe) precious disk resources from your Proxmox box.
 
Why don't you set up a share to keep all your ISOs on? Then just add it as an NFS ISO share to the Proxmox box. That way you can easily upload your ISOs to ...

Yes, exactly.
And if I have an unstable connection, then I use "screen" and can enter at any time and from anywhere in the ssh connection again
(where I have, for example, a VPN connection)
For example, I start the slow transfer evenings, close my screen session and go to bed. The next morning I log on again using the same screen session and see if it's done, etc.
http://www.rackaid.com/resources/linux-screen-tutorial-and-how-to/
 
Last edited: