[systemd-devel] .nspawn settings files

Lennart Poettering lennart at poettering.net
Tue Sep 8 23:39:21 PDT 2015


On Tue, 08.09.15 22:57, Alexey Shabalin (a.shabalin at gmail.com) wrote:

> 2015-09-08 16:32 GMT+03:00 David Herrmann :
> 
> > Hi
> >
> > Here's the next version of systemd, v226:
> >         * nspawn learnt support for .nspawn settings files, that may
> >           accompany the image files or directories of containers, and
> >           may contain additional settings for the container. This is
> >           an alternative to configuring container parameters via the
> >           nspawn command line.
> >
> > Hello.
> I was read man systemd.nspawn and create  /etc/systemd/nspawn/ctr1.nspawn
> for ctr1 container:
> 
> [Network]
> Bridge=br144
> 
> after run i can see in journal:
> systemd-nspawn[2020]: [/etc/systemd/nspawn/ctr1.nspawn:12] Unknown lvalue
> 'Bridge' in section 'Network'
> 
> What is the problem?

Well, I fucked this up, that's the problem. ;-) Fix is here:

https://github.com/systemd/systemd/pull/1210

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list