[systemd-devel] nspawn container: network broken

Anthony Joseph Messina amessina at messinet.com
Fri Aug 12 21:12:44 UTC 2016


On Friday, August 12, 2016 7:22:42 PM CDT arnaud gaboury wrote:
> I found the culprit: my /usr/lib/systemd/system/systemd-nspawn@ is a
> modified one: I replace --network-veth option with
> --network-bridge=br0. This modified file was replaced accidentally by
> original one.

Instead of modifying /usr/lib/systemd/system/systemd-nspawn at .service, you 
might want to create the
/etc/systemd/systems/systemd-nspawn@<containername>.service.d directory with 
the configuration you want applied to that <container>

-- 
Anthony - https://messinet.com/ - https://messinet.com/~amessina/gallery
F9B6 560E 68EA 037D 8C3D  D1C9 FF31 3BDB D9D8 99B6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160812/b232cb49/attachment.sig>


More information about the systemd-devel mailing list