PN: lxc
PV: 5.0.3+git
PR: r0
PKGV: 5.0.3+git@PRSERV_PV_AUTOINC@+cb8e38aca2
PKGR: r0@EXTENDPRAUTO@
LICENSE: LGPL-2.1-only & GPL-2.0-only
DESCRIPTION: lxc aims to use these new functionnalities to provide an userspace container object
SUMMARY: lxc version 5.0.3+git-r0
RDEPENDS:lxc-networking: iptables
SECTION: console/utils
PKG:lxc-networking: lxc-networking
FILES:lxc-networking:       /etc/init.d/lxc-net     /etc/default/lxc-net       /etc/dnsmasq.d  /usr/lib/systemd/system-preset/98-lxc-networking.preset /usr/lib/systemd/system/lxc-net.service
FILES_INFO:lxc-networking: {"/etc/default/lxc-net": 206, "/etc/dnsmasq.d/lxc": 40, "/usr/lib/systemd/system-preset/98-lxc-networking.preset": 23, "/usr/lib/systemd/system/lxc-net.service": 329}
pkg_postinst:lxc-networking: set -e\nif false; then\ncat >> $D/etc/network/interfaces << EOF\n\nauto lxcbr0\niface lxcbr0 inet dhcp\n\tbridge_ports eth0\n\tbridge_fd 0\n\tbridge_maxwait 0\nEOF\n\ncat<<EOF>$D/etc/network/if-pre-up.d/lxcbr0\n#! /bin/sh\n\nif test "x\\$IFACE" = xlxcbr0 ; then\n        brctl show |grep lxcbr0 > /dev/null 2>/dev/null\n        if [ \\$? != 0 ] ; then\n                brctl addbr lxcbr0\n                brctl addif lxcbr0 eth0\n                ip addr flush eth0\n                ifconfig eth0 up\n        fi\nfi\nEOF\nchmod 755 $D/etc/network/if-pre-up.d/lxcbr0\nfi\nif systemctl >/dev/null 2>/dev/null; then\n\tOPTS=""\n\n\tif [ -n "$D" ]; then\n\t\tOPTS="--root=$D"\n\tfi\n\n\tif [ "enable" = "enable" ]; then\n\t\tfor service in lxc-net.service; do\n\t\t\tsystemctl ${OPTS} enable "$service"\n\t\tdone\n\tfi\n\n\tif [ -z "$D" ]; then\n\t\tsystemctl daemon-reload\n\t\tsystemctl preset lxc-net.service\n\n\t\tif [ "enable" = "enable" ]; then\n\t\t\tsystemctl --no-block restart lxc-net.service\n\t\tfi\n\tfi\nfi\n
pkg_prerm:lxc-networking: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tif [ -z "$D" ]; then\n\t\tsystemctl stop lxc-net.service\n\n\t\tsystemctl disable lxc-net.service\n\tfi\nfi\n
PKGSIZE:lxc-networking: 598
