[TUTORIAL] 400 too many arguments qm importovf <vmid> <manifest> <storage> [OPTIONS]

jolko

New Member
Mar 6, 2024
2
1
3
Hi
I'm trying to import a machine from Home Assistant
I'm almost finished but a message appears

root@pve:/var/lib/vz/upload# qm importovf 2200 Home Assistant.ovf local-lvm --format raw
400 too many arguments
qm importovf <vmid> <manifest> <storage> [OPTIONS]


I will be grateful for your help
 
[Tutorial] tag is usually used when you have something you want to educate the community on.

The reason you are getting the error is because you have spaces in your filename and you are not quoting the name:
https://www.austintripp.ca/blog/2019/07/18/bash-quotes

this should do it: qm importovf 2200 "Home Assistant.ovf" local-lvm --format raw


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!