From 111a0c1f3ca6aaf7104a76f9979f25f3a3fb4ce3 Mon Sep 17 00:00:00 2001 From: Eric Keller Date: Sat, 12 Mar 2016 21:01:32 +0100 Subject: [PATCH] add xenial configuration --- Makefile | 2 +- README.md | 1 + common/download.sh | 2 +- conf/ubuntu-xenial | 13 +++++++++++++ 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 conf/ubuntu-xenial diff --git a/Makefile b/Makefile index 41294ff..9423473 100644 --- a/Makefile +++ b/Makefile @@ -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 CENTOS_BOXES= 6 FEDORA_BOXES= rawhide 23 22 21 20 19 diff --git a/README.md b/README.md index fd21480..0a516fe 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ This fork is still maintained: - Utopic 14.10 x86_64 - Vivid 15.04 x86_64 - Wily 15.10 x86_64 + - Xenial 16.04 x86_64 * Debian - Squeeze x86_64 - Wheezy x86_64 diff --git a/common/download.sh b/common/download.sh index 900159b..16d4614 100755 --- a/common/download.sh +++ b/common/download.sh @@ -26,7 +26,7 @@ fi # If we got to this point, we need to create the container log "Creating container..." -if [ $RELEASE = 'raring' ] || [ $RELEASE = 'wily' ]; then +if [ $RELEASE = 'raring' ] || [ $RELEASE = 'wily' ] || [ $RELEASE = 'xenial' ]; then utils.lxc.create -t ubuntu -- \ --release ${RELEASE} \ --arch ${ARCH} diff --git a/conf/ubuntu-xenial b/conf/ubuntu-xenial new file mode 100644 index 0000000..df9b2f2 --- /dev/null +++ b/conf/ubuntu-xenial @@ -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