args: Support

NetRock

Renowned Member
Apr 23, 2015
77
0
71
Hi Everyone.... ;)
Could someone please help:
How to pass '-agrs:' as an option with 'pvesh'. I have already automated creating vms (KVM) without any issues using pvesh and now, i am not able to pass args as an option to the working script.
I get an error: 'unknown option: args:'

the option I am trying to pass with 'pvesh' is:
- args: -device intel-had,id=sound5,bus=pci.0,addr=0x18 –device hda-micro,id=sound5-codec0,bus=sound5.0,cad=0 –device had-duplex,id=sound5-codec1,bus=sound5.0,cad=1

Thank you so much for your time to help.... highly appreciated!
 
Hi
you have to quote the parameter string.
Code:
pvesh set /nodes/ella/qemu/102/config --args '-device intel-had,id=sound5,bus=pci.0,addr=0x18 –device hda-micro,id=sound5-codec0,bus=sound5.0,cad=0 –device had-duplex,id=sound5-codec1,bus=sound5.0,cad=1'
 
  • Like
Reactions: NetRock

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!