add veth interface on container

udo

Distinguished Member
Apr 22, 2009
5,975
196
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.
 

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!