diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2018-08-31 15:25:13 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-06 08:57:13 +0200 |
commit | 9ff6cca716e62e4c9d8f6ccaea61afe4702bcdd2 (patch) | |
tree | d55ea4514a14e46f8dbc3a0606b8a64606d8a86d /projectroot | |
parent | ed3920c86629f43ca475df95ece10ac30d2388dc (diff) | |
download | ptxdist-9ff6cca716e62e4c9d8f6ccaea61afe4702bcdd2.tar.gz ptxdist-9ff6cca716e62e4c9d8f6ccaea61afe4702bcdd2.tar.xz |
lxc: add new package
This patch adds support for the lxc container system. We install the
userspace lib and application.
To make sure all necessary kernel options are enabled use:
$ CONFIG=/path/to/kernelconfig lxc-checkconfig
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r-- | projectroot/etc/default/lxc-net | 7 | ||||
-rw-r--r-- | projectroot/etc/lxc/default.conf | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/projectroot/etc/default/lxc-net b/projectroot/etc/default/lxc-net new file mode 100644 index 000000000..347726e55 --- /dev/null +++ b/projectroot/etc/default/lxc-net @@ -0,0 +1,7 @@ +USE_LXC_BRIDGE="true" +LXC_BRIDGE="lxcbr0" +LXC_ADDR="172.16.1.1" +LXC_NETMASK="255.255.255.0" +LXC_NETWORK="172.16.1.0/24" +LXC_DHCP_RANGE="172.16.1.2,172.16.1.254" +LXC_DHCP_MAX="253" diff --git a/projectroot/etc/lxc/default.conf b/projectroot/etc/lxc/default.conf new file mode 100644 index 000000000..e7af1e6ae --- /dev/null +++ b/projectroot/etc/lxc/default.conf @@ -0,0 +1,4 @@ +lxc.net.0.type = veth +lxc.net.0.link = lxcbr0 +lxc.net.0.flags = up +lxc.net.0.hwaddr = 00:16:3e:11:22:34 |