aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-29 23:26:49 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-29 23:26:49 -0200
commit4a2e70edeb1d87674156cd8328352582e25d1525 (patch)
tree053fcff3ac4f723e4cfac301ee4f9975744a087c /files
parentaf78b156c5418d1e67faed4635019dcef0da9cac (diff)
downloadpuppet-virtual-4a2e70edeb1d87674156cd8328352582e25d1525.tar.gz
puppet-virtual-4a2e70edeb1d87674156cd8328352582e25d1525.tar.bz2
LXC support
Diffstat (limited to 'files')
-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=""