summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxc/files/lxc-0.9.0-disable-udhcp-from-busybox-template.patch
Commit message (Collapse)AuthorAgeFilesLines
* lxc: Add disable udhcp patch to LXC recipeBogdan Purcareata2013-04-111-0/+24
The provided patch makes a modification to the LXC busybox template (the template that creates a minimal container with Busybox). This type of container will start the udhcpc service - the DHCP client - on init. For an embedded Linux image, we might assume that the majority of containers will have manual / static networking configuration on start. Considering this, starting the udhcpc service by default is useless, since the service will then has to be killed. The containers that use DHCP for networking can start udhcpc after container boot, or alter the busybox template locally to do so by default. The patch deactivates the default start of the DHCP client on a Busybox container init. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>