[PVE-User] Persistent changes in Container bridge network interface

lara sanz lara.sanz.15 at gmail.com
Thu Dec 20 17:12:40 CET 2012


Hi all ,


I created a Container in Proxmox server, Container is debian 6 , in this
container I have one bridge interface, eth1,
when I change interface configuration in file  /etc/network/interface in to
container, interface run correctly, but  when the container restart these
changes are lost.

In  /etc/network/interface I can show this message:

# This configuration file is auto-generated.
#
# WARNING: Do not edit this file, your changes will be lost.
# Please create/edit /etc/network/interfaces.head and
# /etc/network/interfaces.tail instead, their contents will be
# inserted at the beginning and at the end of this file, respectively.
#
# NOTE: it is NOT guaranteed that the contents of
/etc/network/interfaces.tail
# will be at the very end of this file.


I try create files :
/etc/network/interfaces.head and /etc/network/interfaces.tail

With the same configuration as /etc/network/interface, but does'nt work.

I also followed te following manuals:

http://wiki.openvz.org/Virtual_Ethernet_device

http://pve.proxmox.com/wiki/Vzctl_manual

I tried the following:

vzctl set 101 --netif_add eth0 --save


When reboot container changes in bridged network interface lost.

I need these changes to be persistent though the container is restartet.

know any manual or howto?

As I can make changes persistent?

Thank you very much for your time
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20121220/a348a65f/attachment.htm>


More information about the pve-user mailing list