]> git.proxmox.com Git - pve-container.git/commit
fix #1134: debian: don't start empty interface sections
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 3 Oct 2016 07:41:19 +0000 (09:41 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 4 Oct 2016 09:49:26 +0000 (11:49 +0200)
commitb06e65b10f7f2ea2a5a41ad25d3072d1ad325b0d
treec48fae454a01a64cae3504384a01b64cba2fcc14
parent8b1ac04fffa81c95d4a3ed60dceff3787339c930
fix #1134: debian: don't start empty interface sections

While a completely unconfigured network interface is
considered manually managed, one that contains an ipv4 _or_
an ipv6 address needs to remove sections with no configured
address rather than printing the 'iface' section header with
no content.
src/PVE/LXC/Setup/Debian.pm
src/test/test-debian-006/config
src/test/test-debian-006/etc/hosts.exp
src/test/test-debian-006/etc/network/interfaces [new file with mode: 0644]
src/test/test-debian-006/etc/network/interfaces.exp [new file with mode: 0644]