]> git.proxmox.com Git - pve-container.git/commit - src/PVE/LXC.pm
consistent interface names and live network update
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 6 Aug 2015 13:46:47 +0000 (15:46 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 6 Aug 2015 14:04:43 +0000 (16:04 +0200)
commit188625375cd3f59139711eced8d910388baff8eb
treefae1d7b2a8a034d2230d74f3919b56f09819f82b
parenta16d94c839a934ac50f7f489653d595b2c73cb1b
consistent interface names and live network update

veth${vmid}.${id} looks like a vlan device, with qemu we use
tap${vmid}i${id}, so it makes sense to use an 'i' for
containers, too.

Fixed update_net to work with the new configuration method,
it still expected the old configuration hash and errored
when trying to change the network interface configuration
of a running continer.
src/PVE/LXC.pm
src/lxcnetaddbr