From 4a2e70edeb1d87674156cd8328352582e25d1525 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 29 Dec 2017 23:26:49 -0200 Subject: LXC support --- files/lxc/default.conf | 4 ++++ files/lxc/lxc-net | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 files/lxc/default.conf create mode 100644 files/lxc/lxc-net (limited to 'files') diff --git a/files/lxc/default.conf b/files/lxc/default.conf new file mode 100644 index 0000000..afe768f --- /dev/null +++ b/files/lxc/default.conf @@ -0,0 +1,4 @@ +lxc.network.type = veth +lxc.network.link = lxcbr0 +lxc.network.flags = up +lxc.network.hwaddr = 00:16:3e:xx:xx:xx diff --git a/files/lxc/lxc-net b/files/lxc/lxc-net new file mode 100644 index 0000000..1c59b70 --- /dev/null +++ b/files/lxc/lxc-net @@ -0,0 +1,9 @@ +USE_LXC_BRIDGE="true" +LXC_BRIDGE="lxcbr0" +LXC_ADDR="10.0.3.1" +LXC_NETMASK="255.255.255.0" +LXC_NETWORK="10.0.3.0/24" +LXC_DHCP_RANGE="10.0.3.2,10.0.3.254" +LXC_DHCP_MAX="253" +LXC_DHCP_CONFILE="" +LXC_DOMAIN="" -- cgit v1.2.3