Advertisement
Guest User

Untitled

a guest
Oct 17th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. # Same network as the host
  2. lxc.network.type = none
  3.  
  4. lxc.utsname = network-lxc
  5. lxc.rootfs = /containers/network-lxc/rootfs
  6. lxc.rootfs.options = ro,nosuid
  7.  
  8. lxc.mount.entry = /dev/input dev/input none bind 0 0
  9. lxc.mount.entry = /etc/params/network etc/params/network none bind 0 0
  10. lxc.mount.entry = /data/dlm/bluetooth data/dlm/bluetooth none ro,bind 0 0
  11.  
  12. lxc.mount.entry = proc proc proc nosuid,nodev,noexec,hidepid=2 0 0
  13.  
  14. lxc.mount.entry=tmpfs run tmpfs defaults,noexec,nosuid,nodev
  15. lxc.mount.entry=/run/dbus run/dbus none bind,create=dir 0 0
  16.  
  17. lxc.mount.entry = /sys/class/net sys/class/net none bind 0 0
  18. lxc.mount.entry = /sys/devices sys/devices none bind 0 0
  19.  
  20. lxc.init_uid = 1005
  21. lxc.init_gid = 1005
  22.  
  23. lxc.cgroup.devices.deny = a
  24. lxc.cgroup.devices.allow = c 1:3 rw
  25. lxc.cgroup.devices.allow = c 1:9 rw
  26. lxc.cgroup.devices.allow = c 13:* rw
  27. lxc.cgroup.devices.allow = c 180:0 rw
  28. lxc.cgroup.devices.allow = c 10:* rw
  29.  
  30. lxc.cap.keep = setuid setgid net_raw net_admin net_bind_service net_broadcast sys_chroot
  31. lxc.autodev = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement