Remove LXC from basic installation. Docker will be used in the future if needed
This commit is contained in:
parent
b084668c01
commit
265caf66a6
15
01-basic.sh
15
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
|
||||
#####
|
||||
|
@ -1 +0,0 @@
|
||||
USE_LXC_BRIDGE="true"
|
@ -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
|
Loading…
Reference in New Issue
Block a user