lxc.conf 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. # Master configuration file for the LXC driver.
  2. # All settings described here are optional - if omitted, sensible
  3. # defaults are used.
  4. # By default, log messages generated by the lxc controller go to the
  5. # container logfile. It is also possible to accumulate log messages
  6. # from all lxc controllers along with libvirtd's log outputs. In this
  7. # case, the lxc controller will honor either LIBVIRT_LOG_OUTPUTS or
  8. # log_outputs from libvirtd.conf.
  9. #
  10. # This is disabled by default, uncomment below to enable it.
  11. #
  12. #log_with_libvirtd = 1
  13. # The default security driver is SELinux. If SELinux is disabled
  14. # on the host, then the security driver will automatically disable
  15. # itself. If you wish to disable QEMU SELinux security driver while
  16. # leaving SELinux enabled for the host in general, then set this
  17. # to 'none' instead.
  18. #
  19. #security_driver = "selinux"
  20. security_driver = "apparmor"
  21. # If set to non-zero, then the default security labeling
  22. # will make guests confined. If set to zero, then guests
  23. # will be unconfined by default. Defaults to 0.
  24. #security_default_confined = 1
  25. security_default_confined = 1
  26. # If set to non-zero, then attempts to create unconfined
  27. # guests will be blocked. Defaults to 0.
  28. #security_require_confined = 1