Upload .iso via API

user_0815

New Member
Jan 5, 2024
5
1
3
Hi,

I'm trying to upload an image via ProxmoxVE API but cannot find a way to pass the local path of the .iso file. After reading the documentation, I could not determine which argument is used for the local path. I would appreciate a little help.

Cheers
 
Hi,

In the CLI, you the command should be as the following:

Bash:
pvesh create /nodes/<Node>/storage/big/<TargetStorage> --content iso --filename proxmox-ve-8-1.iso --tmpfilename /var/tmp/pveupload-<123456>
 
Hi,

Thanks for the answer! I´m trying to upload an .iso image through curl POST. I tried to use tmpfilename to pass the path but it didn`t work. Maybe using pvesh works because the path of --tmpfilename is inside the proxmox host?

Cheers
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!