Remove virtual machine options with qm

`qm help set` lists you all possible settings along with the valid and default settings. Setting it to the default should be equivalent to unsetting in most cases. For settings like -cdrom you could try an empty string.
 
Hey, thanks for the reply, I ended up using:

# sed -i '/^host/d' VMID.conf

the special '--delete' also works, though you'd have to call it once for each hostpci device.
 

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!