[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