add veth interface on container

udo

Distinguished Member
Apr 22, 2009
5,977
201
163
Ahrensburg; Germany
Hi,
creating container work well:
Code:
pvectl create 420 debian-6.0-standard_6.0-4_i386.tar.gz
But assigning an network interface provide an container which fail to run:
Code:
vzctl set 420 --netif_add eth0 --save
vzctl start 420
Starting container ...
Container is mounted
Setting CPU units: 1000
Setting CPUs: 1
Configure veth devices: veth420.0 
.: 6: Can't open /etc/vz/conf/420.conf
/usr/sbin/vznetcfg exited with error
Container start failed (try to check kernel messages, e.g. "dmesg | tail")
Stopping container ...
Container was stopped
Container is unmounted
Because the old config-place of vznetcfg i do an symlink "ln -s /etc/pve/openvz/420.conf /etc/vz/conf/420.conf" and i can start the container.

Udo
 
yes, we do not syncing any accounts so you need to register also for bugzilla.