From 265caf66a69ff82407b3a66e4c50509e5421ade7 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 1 Dec 2017 08:35:56 +0100 Subject: [PATCH] Remove LXC from basic installation. Docker will be used in the future if needed --- 01-basic.sh | 15 --------------- basic/etc/default/lxc-net | 1 - basic/etc/lxc/default.conf | 4 ---- 3 files changed, 20 deletions(-) delete mode 100644 basic/etc/default/lxc-net delete mode 100644 basic/etc/lxc/default.conf diff --git a/01-basic.sh b/01-basic.sh index 0cacb1b..268fcb0 100755 --- a/01-basic.sh +++ b/01-basic.sh @@ -78,21 +78,6 @@ cp ${SOURCE_DIR}/basic/etc/postfix/main.cf /etc/postfix/main.cf systemctl restart postfix -##### -# LXC -##### - -# Install packages -apt-get -y --no-install-recommends install lxc debootstrap rsync dnsmasq-base xz-utils - -# Configure LXC -cp ${SOURCE_DIR}/basic/etc/default/lxc-net /etc/default/lxc-net -cp ${SOURCE_DIR}/basic/etc/lxc/default.conf /etc/lxc/default.conf - -# Restart services -systemctl start lxc-net lxc - - ##### # Nginx + uWSGI ##### diff --git a/basic/etc/default/lxc-net b/basic/etc/default/lxc-net deleted file mode 100644 index 5d52f62..0000000 --- a/basic/etc/default/lxc-net +++ /dev/null @@ -1 +0,0 @@ -USE_LXC_BRIDGE="true" diff --git a/basic/etc/lxc/default.conf b/basic/etc/lxc/default.conf deleted file mode 100644 index 661718b..0000000 --- a/basic/etc/lxc/default.conf +++ /dev/null @@ -1,4 +0,0 @@ -lxc.network.type = veth -lxc.network.link = lxcbr0 -lxc.network.flags = up -lxc.network.hwaddr = 00:16:3e:xx:xx:xx