summaryrefslogtreecommitdiff
path: root/src/shared/switch-root.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-12 16:59:15 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-12 17:30:25 +0100
commitc4e34a612c81266773cf8358cb38a43d2e43474e (patch)
tree30365df7de959342130bd88d1ce6d6be7c32d73d /src/shared/switch-root.c
parentdf9a75e480ecbfe230589a7c1e8e0bb790ee0595 (diff)
nspawn: allow spawning ephemeral nspawn containers based on the root file system of the OS
This works now: # systemd-nspawn -xb -D / -M foobar Which boots up an ephemeral container, based on the host's root file system. Or in other words: you can now run the very same host OS you booted your system with also in a container, on top of it, without having it interfere. Great for testing whether the init system you are hacking on still boots without reboot the system!
Diffstat (limited to 'src/shared/switch-root.c')
0 files changed, 0 insertions, 0 deletions