ak2766

New Config

Feb 23rd, 2017
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. # Template used to create this container: /usr/share/lxc/templates/lxc-download
  2. # Parameters passed to the template: -d centos -r 7 -a amd64
  3. # For additional config options, please look at lxc.container.conf(5)
  4.  
  5. # Distribution configuration
  6. lxc.include = /usr/share/lxc/config/centos.userns.conf
  7. lxc.include = /usr/share/lxc/config/centos.common.conf
  8. lxc.arch = x86_64
  9.  
  10. # Container specific configuration
  11. lxc.id_map = u 0 231072 65536
  12. lxc.id_map = g 0 231072 65536
  13. lxc.rootfs = /lxc/CONTAINER/rootfs
  14. lxc.rootfs.backend = dir
  15. lxc.utsname = CONTAINER.DOMAIN.com
  16.  
  17. # Network configuration
  18. lxc.network.type = veth
  19. lxc.network.flags = up
  20. lxc.network.link = lxcbr0
  21. #lxc.network.hwaddr = d6:65:df:db:ef:8e
  22. lxc.network.ipv4 = 10.20.20.53/24
  23. lxc.network.ipv4.gateway = 10.20.20.1
  24.  
  25. # container autostart status
  26. lxc.start.auto = 1
  27.  
  28. lxc.autodev = 1
Advertisement
Add Comment
Please, Sign In to add comment