Merge lp:~harmw/cirros/udhcpc-wrapper into lp:cirros
Proposed by
Harm Weites
Status: | Merged |
---|---|
Merged at revision: | 310 |
Proposed branch: | lp:~harmw/cirros/udhcpc-wrapper |
Merge into: | lp:cirros |
Diff against target: |
283 lines (+172/-75) 6 files modified
conf/busybox.config (+1/-1) patches-buildroot/ifupdown-cirros.patch (+21/-0) patches-buildroot/series (+1/-0) src/etc/default/udhcpc (+3/-0) src/sbin/cirros-dhcpc (+146/-0) src/usr/share/udhcpc/default.script (+0/-74) |
To merge this branch: | bzr merge lp:~harmw/cirros/udhcpc-wrapper |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Pending | ||
Review via email: mp+229114@code.launchpad.net |
Description of the change
Add a wrapper for handling dhcp.
This way there is no need to rebuild busybox for having it ask for more options if we'd want that in the future (hostname?), plus we gain flexibility in having one central script that handles dhcp aspects.
The cirros-dhcpc scripts is called by ifup, it in turn calls udhcpc which uses cirros-dhcpc yet again (instead of default.script found in /usr/share) to apply the configuration.
Besides asking for additional routes, udhcpc will also ask for an mtu to configure.
To post a comment you must log in.