Advertisement
shinji

Untitled

Sep 1st, 2015
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. File: /etc/lxc/default.conf
  2. lxc.network.type = veth
  3. lxc.network.link = lxcbr0
  4. lxc.network.flags = up
  5. lxc.network.hwaddr = 00:16:3e:xx:xx:xx
  6.  
  7. File: ~/.local/share/lxc/testcont/config
  8. # Template used to create this container: /usr/share/lxc/templates/lxc-download
  9. # Parameters passed to the template:
  10. # For additional config options, please look at lxc.container.conf(5)
  11.  
  12. # Distribution configuration
  13. lxc.include = /usr/share/lxc/config/ubuntu.common.conf
  14. lxc.include = /usr/share/lxc/config/ubuntu.userns.conf
  15. lxc.arch = x86_64
  16.  
  17. # Container specific configuration
  18. lxc.id_map = u 0 100000 65536
  19. lxc.id_map = g 0 100000 65536
  20. lxc.rootfs = /home/shinji/.local/share/lxc/testcont/rootfs
  21. lxc.utsname = testcont
  22.  
  23. # Network configuration
  24. lxc.network.type = veth
  25. lxc.network.link = lxcbr0
  26.  
  27. File: /var/lib/lxc/testpriv/config
  28. # Template used to create this container: /usr/share/lxc/templates/lxc-ubuntu
  29. # Parameters passed to the template:
  30. # For additional config options, please look at lxc.container.conf(5)
  31.  
  32. # Common configuration
  33. lxc.include = /usr/share/lxc/config/ubuntu.common.conf
  34.  
  35. # Container specific configuration
  36. lxc.rootfs = /var/lib/lxc/testpriv/rootfs
  37. lxc.utsname = testpriv
  38. lxc.arch = amd64
  39.  
  40. # Network configuration
  41. lxc.network.type = veth
  42. lxc.network.link = lxcbr0
  43. lxc.network.flags = up
  44. lxc.network.hwaddr = 00:16:3e:91:a0:7a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement