packer-builds

Packer Builds for LXC and Libvirt
git clone https://git.in0rdr.ch/packer-builds.git
Log | Files | Refs | Pull requests |Archive | README

lxc-config (961B)


      1 # https://linuxcontainers.org/lxc/manpages/man5/lxc.container.conf.5.html
      2 
      3 # Distribution configuration
      4 lxc.arch = amd64
      5 
      6 # Container specific configuration
      7 lxc.include = /usr/share/lxc/config/common.conf
      8 
      9 # Network configuration
     10 lxc.net.0.type         = veth
     11 lxc.net.0.link         = br0
     12 lxc.net.0.flags        = up
     13 lxc.net.0.name         = eth0
     14 lxc.net.0.hwaddr       = 00:00:00:00:00:00 # ADJUST
     15 lxc.net.0.ipv4.address = 10.0.0.113/24 # ADJUST
     16 
     17 # Autostart
     18 lxc.start.auto = 1
     19 lxc.group      = onboot
     20 
     21 # /etc/fstab mount entry
     22 #lxc.mount.entry = /var/run/collectd collectd none bind,create=dir 0 0
     23 # Mount raid (restic)
     24 #lxc.mount.entry = /srv/nfs host-nfs none bind,create=dir 0 0
     25 
     26 
     27 # Run with specific apparmor profile
     28 #lxc.apparmor.profile = lxc-gatus
     29 #
     30 # For Haproxy chroot
     31 #lxc.apparmor.profile = generated
     32 #lxc.apparmor.allow_nesting = 1
     33 
     34 # Host specific via deploy-output.sh
     35 #lxc.uts.name = hostname
     36 #lxc.rootfs.path = dir:/var/lib/lxc/hostname/rootfs