The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / patches-buildroot / ifupdown-cirros.patch
1 --- a/package/busybox/busybox-01-ifupdown-cirros.patch  1970-01-01 01:00:00.000000000 +0100
2 +++ b/package/busybox/busybox-01-ifupdown-cirros.patch  2014-07-30 11:49:02.213528074 +0200
3 @@ -0,0 +1,17 @@
4 +Busybox tries several dhcpclients in a specific order, if one is found as
5 +executable it gets the honor of asking for an address. By adding cirros as the
6 +first option we make sure the /sbin/ifupdown script is used.
7 +This depends heavily on CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y.
8 +
9 +--- a/networking/ifupdown.c    2014-07-30 11:38:03.708210386 +0200
10 ++++ b/networking/ifupdown.c    2014-07-30 11:38:24.106941433 +0200
11 +@@ -521,6 +521,10 @@
12 + };
13
14 + static const struct dhcp_client_t ext_dhcp_clients[] = {
15 ++      { "cirros-dhcpc",
16 ++              "cirros-dhcpc up %iface%",
17 ++              "cirros-dhcpc down %iface%",
18 ++      },
19 +       { "dhcpcd",
20 +               "dhcpcd[[ -h %hostname%]][[ -i %vendor%]][[ -I %client%]][[ -l %leasetime%]] %iface%",
21 +               "dhcpcd -k %iface%",