vzctl --devnodes command overwriting previous command

telemagic

New Member
Jan 20, 2013
18
2
1
Hi Guys

I have experienced some issues with the following comands

vzctl set 100 --devnodes dahdi/pseudo:rw --save
vzctl set 100 --devnodes dahdi/ctl:rw --save
vzctl set 100 --devnodes dahdi/channel:rw --save
vzctl set 100 --devnodes dahdi/timer:rw --save

This will only add the last one to the container config. Each one seems to overwrite the previous one.

I can add multiple entries maunally and works fine.

Should I be issuing a single command to perfomr all 4 adds, if so how do I format this?

Regards
 
# vzctl set 100 --devnodes dahdi/pseudo:rw --devnodes dahdi/ctl:rw --devnodes dahdi/channel:rw --devnodes dahdi/timer:rw --save
 
Im getting odder behaviour - garbage (hi bit chars) in the conf file and its eating chars from previous lines...

# cp 105.conf /root
# vzctl set 105 --devnodes dahdi/pseudo:rw --save
# diff /root/105.conf /etc/pve/openvz/105.conf
40a41,42
> ost_mac=
> A3DEVNODES="dahdi/pseudo:rw "




what's the resulting format of a conf file devnode line so I can do it manually since the vzctl command is munging the file?
 

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!