Age | Commit message (Collapse) | Author |
|
Hopefully no one is using these exit hooks anymore, since dhcp
is no longer in oe-core, this bbappend is dangling. The replacement
to dhcp doesn't support the same hooks, so we drop everything and
see if anyone notices.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Add the default route option for the operation of adding route,
while we set the static route and the mask setting is 0.
For example:
add_routes 32 169 254 169 254 10 209 67 4 0 10 209 67 1
The first route (169.254.169.254/32 via 10.209.67.4) is added successfully,
but the second route (10.209.67.1, default) is not added at all.
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
dhclient needs to be configured to request classess static
routes (option code 121) from dhcp server. And dhclient-script will call
dhclient-exit-hooks which will parse and add the static routes
received from dhcp server into the routing table.
The support are built into both controller image and usb guest image,
but only guest image makes use of it to add static route for instance to
access metadata.
Signed-off-by: Andy Ning <andy.ning@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
|