chiark / gitweb /
nspawn: add new --network-bridge= switch
authorTom Gundersen <teg@jklm.no>
Sun, 16 Feb 2014 20:12:47 +0000 (21:12 +0100)
committerTom Gundersen <teg@jklm.no>
Sun, 16 Feb 2014 20:40:28 +0000 (21:40 +0100)
commitab046dde6f355f4a8b07ff6120a7ef51f5d49fc9
tree258e013106cbc9054726a87906ca6747674f1291
parent1733a00f62f1db9a0506c8d674b4b5ef7d235025
nspawn: add new --network-bridge= switch

This adds the host side of the veth link to the given bridge.

Also refactor the creation of the veth interfaces a bit to set it up
from the host rather than the container. This simplifies the addition
to the bridge, but otherwise the behavior is unchanged.
TODO
man/systemd-nspawn.xml
src/nspawn/nspawn.c