systemd-nspawn.conf 981 B

1234567891011121314151617181920212223
  1. # This file is part of systemd.
  2. #
  3. # systemd is free software; you can redistribute it and/or modify it
  4. # under the terms of the GNU Lesser General Public License as published by
  5. # the Free Software Foundation; either version 2.1 of the License, or
  6. # (at your option) any later version.
  7. # See tmpfiles.d(5) for details
  8. Q /var/lib/machines 0700 - - -
  9. # Remove old temporary snapshots, but only at boot. Ideally we'd have
  10. # "self-destroying" btrfs snapshots that go away if the last last
  11. # reference to it does. To mimic a scheme like this at least remove
  12. # the old snapshots on fresh boots, where we know they cannot be
  13. # referenced anymore. Note that we actually remove all temporary files
  14. # in /var/lib/machines/ at boot, which should be safe since the
  15. # directory has defined semantics. In the root directory (where
  16. # systemd-nspawn --ephemeral places snapshots) we are more strict, to
  17. # avoid removing unrelated temporary files.
  18. R! /var/lib/machines/.#*
  19. R! /.#machine.*