Template used to create this container: /usr/share/lxc/templates/lxc-download
# Parameters passed to the template:
# 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)
# Distribution configuration
lxc.include = /usr/share/lxc/config/debian.common.conf
lxc.arch = x86_64
# Template used to create this container: /usr/share/lxc/templates/lxc-ubuntu
# Parameters passed to the template:
# 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.aa_profile = unconfined
lxc.start.auto = 1
lxc.start.delay = 8
lxc.start.order = 8
# Common configuration
lxc.include = /usr/share/lxc/config/ubuntu.common.conf
# Container specific configuration
lxc.rootfs = /tank/host/mail/rootfs
lxc.utsname = mail
lxc.arch = amd64
Debain container
lxc-create -t download( selected -> debian jessie amd64) -n kjell -B zfs
lxc-start -n kjell
function of container is remote access ssh.
Template used to create this container: /usr/share/ lxc/templates/ lxc-download conf(5)
# Parameters passed to the template:
# For additional config options, please look at lxc.container.
# Uncomment the following line to support nesting containers: lxc/config/ nesting. conf
#lxc.include = /usr/share/
# (Be aware this has security implications)
# Distribution configuration lxc/config/ debian. common. conf
lxc.include = /usr/share/
lxc.arch = x86_64
# Container specific configuration kjell/rootfs
lxc.rootfs = /tank/host/
lxc.rootfs.backend = zfs
lxc.utsname = kjell
lxc.start.auto = 1
lxc.start.delay = 5
lxc.start.order = 50
# Network configuration kjell/kjell. log ======= ======= ======= ======= ======= ======= =
lxc.network.type = veth
lxc.network.link = br0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:13:89:92
lxc.logfile = /tank/host/
lxc.loglevel = 1
=======
Ubuntu Container:
lxc-create -t download( selected -> ubunti xenian amd64) -n mail -B zfs
lxc-start -n mail
container is mail server, postfix dovecot
config:
# Template used to create this container: /usr/share/ lxc/templates/ lxc-ubuntu conf(5)
# Parameters passed to the template:
# For additional config options, please look at lxc.container.
# Uncomment the following line to support nesting containers: lxc/config/ nesting. conf
#lxc.include = /usr/share/
# (Be aware this has security implications)
#lxc.aa_profile = unconfined
lxc.start.auto = 1
lxc.start.delay = 8
lxc.start.order = 8
# Common configuration lxc/config/ ubuntu. common. conf
lxc.include = /usr/share/
# Container specific configuration mail/rootfs
lxc.rootfs = /tank/host/
lxc.utsname = mail
lxc.arch = amd64
# Network configuration
lxc.network.type = veth
lxc.network.link = br0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:e9:2c:b6
================