[Users] [vznetaddbr] How to use it properly?

Stanichenko Marat mstanichenko at openvz.org
Thu Jun 18 07:10:00 EDT 2009


Starfry observed a strange behavior of vznetaddbr script.
http://forum.openvz.org/index.php?t=msg&th=7627&start=0&

So the question arose: how is this script intended to use?
# cat /etc/vz/vznet.conf
#!/bin/bash
EXTERNAL_SCRIPT="/usr/sbin/vznetaddbr"
# vzctl set 101 --netif_add eth0
Configure veth devices: veth101.0
Running: /usr/sbin/vznetcfg init veth veth101.0
According to /etc/vz/conf/101.conf, CT101 has no veth interface configured.
/usr/sbin/vznetcfg exited with error
WARNING: Settings were not saved and will be resetted to original values on next 
start (use --save flag)

Doesn't it have to be corrected so that the ability to add veth interface inside 
VE remains intact?
-- 
Stanichenko Marat


More information about the Users mailing list