aboutsummaryrefslogtreecommitdiff
path: root/files/lxc
diff options
context:
space:
mode:
Diffstat (limited to 'files/lxc')
-rw-r--r--files/lxc/default.conf4
-rw-r--r--files/lxc/lxc-net9
2 files changed, 13 insertions, 0 deletions
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=""