Skip to content

Instantly share code, notes, and snippets.

View mathiasaerts's full-sized avatar

Mathias Aerts mathiasaerts

View GitHub Profile
INFO global: Vagrant version: 2.2.7
INFO global: Ruby version: 2.7.0
INFO global: RubyGems version: 3.1.2
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_DETECTED_OS="archlinux"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/gems/vagrant-2.2.7/bin/vagrant"
INFO global: VAGRANT_INSTALLER_ENV="1"
WARN global: resolv replacement has not been enabled!
#!/bin/bash
#
# LXC Setup script
# ----------------
# This script aims to set up a simple container environment with
# an easy to use NAT network setup.
#
# It will install LXC as container runtime and set up dnsmasq as a
# simple DHCP server. LXC will be configured to create unpriviledged
# containers by default. The script will also configure a linux