add xenial configuration

This commit is contained in:
Eric Keller 2016-03-12 21:01:32 +01:00
parent d471b7576d
commit 111a0c1f3c
4 changed files with 16 additions and 2 deletions

View file

@ -1,4 +1,4 @@
UBUNTU_BOXES= precise quantal raring saucy trusty utopic vivid wily UBUNTU_BOXES= precise quantal raring saucy trusty utopic vivid wily xenial
DEBIAN_BOXES= squeeze wheezy sid jessie DEBIAN_BOXES= squeeze wheezy sid jessie
CENTOS_BOXES= 6 CENTOS_BOXES= 6
FEDORA_BOXES= rawhide 23 22 21 20 19 FEDORA_BOXES= rawhide 23 22 21 20 19

View file

@ -21,6 +21,7 @@ This fork is still maintained:
- Utopic 14.10 x86_64 - Utopic 14.10 x86_64
- Vivid 15.04 x86_64 - Vivid 15.04 x86_64
- Wily 15.10 x86_64 - Wily 15.10 x86_64
- Xenial 16.04 x86_64
* Debian * Debian
- Squeeze x86_64 - Squeeze x86_64
- Wheezy x86_64 - Wheezy x86_64

View file

@ -26,7 +26,7 @@ fi
# If we got to this point, we need to create the container # If we got to this point, we need to create the container
log "Creating container..." log "Creating container..."
if [ $RELEASE = 'raring' ] || [ $RELEASE = 'wily' ]; then if [ $RELEASE = 'raring' ] || [ $RELEASE = 'wily' ] || [ $RELEASE = 'xenial' ]; then
utils.lxc.create -t ubuntu -- \ utils.lxc.create -t ubuntu -- \
--release ${RELEASE} \ --release ${RELEASE} \
--arch ${ARCH} --arch ${ARCH}

13
conf/ubuntu-xenial Normal file
View file

@ -0,0 +1,13 @@
# Template used to create this container: /usr/share/lxc/templates/lxc-ubuntu
# Parameters passed to the template: --release wily --arch amd64
# For additional config options, please look at lxc.container.conf(5)
# Common configuration
lxc.include = /usr/share/lxc/config/ubuntu.common.conf
# settings for systemd with PID 1:
lxc.kmsg = 0
lxc.autodev = 1
# allow unconfined and incomplete
lxc.aa_profile = unconfined
lxc.aa_allow_incomplete = 1