lxc-ramdisk/templates/gitlab-runner.template

30 lines
952 B
Plaintext

# Template used to create this container: /usr/share/lxc/templates/lxc-debian
# Parameters passed to the template: -r bullseye
# For additional config options, please look at lxc.container.conf(5)
# Uncomment the following line to support nesting containers:
#lxc.include = /usr/share/lxc/config/nesting.conf
# (Be aware this has security implications)
lxc.net.0.type = veth
#lxc.net.0.hwaddr = 00:16:3e:5e:7b:d0
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.apparmor.profile = generated
lxc.apparmor.allow_nesting = 1
# Don't use LXCROOTFS, as we cannot edit this template's rootfs (which is archlinux)
lxc.rootfs.path = overlayfs:/ramdisk/sys/archlinux:/ramdisk/tmp/$VMNAME
# Common configuration
lxc.include = /usr/share/lxc/config/archlinux.common.conf
# Container specific configuration
lxc.tty.max = 4
lxc.uts.name = $VMNAME
lxc.arch = amd64
lxc.pty.max = 1024
# For running docker in LXC container
security.nesting = true
lxc.cap.drop =