chiark / gitweb /
nspawn: support ephemeral boots from images
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Nov 2016 17:38:06 +0000 (18:38 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:35 +0000 (17:58 +0200)
commit084937b3d7c4da3e3c48d05779f8cfbdc39a2ce6
tree11f58bebb84de54d86b8357988dfb3071e196064
parent113671cf229bebd1ddb0d96dd3790dc84fbf019f
nspawn: support ephemeral boots from images

Previously --ephemeral was only supported with container trees in btrfs
subvolumes (i.e. in combination with --directory=). This adds support for
--ephemeral in conjunction with disk images (i.e. --image=) too.

As side effect this fixes that --ephemeral was accepted but ignored when using
-M on a container that turned out to be an image.

Fixes: #4664
src/basic/missing.h