Commits
Kir Kolyshkin authored b8708e2d5c8
vzctl set --devnodes: fix removing last device Apparently removing a last device from the list is a special case, as merge_conf() doesn't detect it unless we provide some string. So, let's print DEVNODES="" in this case. This fixes the following bug: # grep DEVNODES /etc/vz/conf/101.conf DEVNODES="ttyS3:rw " # vzctl set 101 --devnodes ttyS3:none --save No changes in CT configuration, not saving # grep DEVNODES /etc/vz/conf/101.conf DEVNODES="ttyS3:rw " https://bugzilla.openvz.org/3186 Signed-off-by: Kir Kolyshkin <kir@openvz.org>