nixos/containers: Make systemd journals available from the host

This is set by default if using the upstream systemd-nspawn@ units.
This commit is contained in:
Aneesh Agrawal 2018-10-06 09:24:08 -07:00
parent 9a5f7b1630
commit d85317c7b2

View File

@ -130,6 +130,7 @@ let
--bind-ro=/nix/var/nix/daemon-socket \
--bind="/nix/var/nix/profiles/per-container/$INSTANCE:/nix/var/nix/profiles" \
--bind="/nix/var/nix/gcroots/per-container/$INSTANCE:/nix/var/nix/gcroots" \
--link-journal=try-guest \
--setenv PRIVATE_NETWORK="$PRIVATE_NETWORK" \
--setenv HOST_BRIDGE="$HOST_BRIDGE" \
--setenv HOST_ADDRESS="$HOST_ADDRESS" \