]> git.proxmox.com Git - pve-container.git/commit - src/PVE/LXC.pm
add mount hook, chnage network config for ip setup
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 20 Apr 2015 05:06:48 +0000 (07:06 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 20 Apr 2015 05:06:48 +0000 (07:06 +0200)
commit93285df86433e646ce67572c0459a52130ab23cd
treef0e2ed854333c01383109d16b7cc3cc9f775d119
parent55fa4e0976abb01df99c1518f149dc7b86a7ad6e
add mount hook, chnage network config for ip setup

We cannot use lxc.nextwork.ipv4 like setting, because that
causes lxc to manipulate network setup at startup. After
that a container is unable to setup interfaces correctly.
So we use extra setting for ip setup:

 pve.network.ip
 pve.network gw
 pve.network.ip6
 pve.network.gw6
src/Makefile
src/PVE/API2/LXC.pm
src/PVE/LXC.pm
src/PVE/LXCSetup/Debian.pm
src/lxc-pve
src/lxc-pve-mount-hook [new file with mode: 0755]
src/test/run_tests.pl
src/test/test2/config
src/test/test2/etc/network/interfaces.exp