diskimage-builder/elements/dhcp-all-interfaces/install.d
Bob Fournier f8eba14d99 Handle failure of carrier check in dhcp-all-interfaces.sh
As described in the bug, there are conditions with certain switches
in which the interface is 'admin down'ed during initialization.
Doing a 'cat' on /sys/class/net/<interface>/carrier when it is
'admin down'ed produces an 'Invalid Argument' error and the script
terminates.  What this fix does is ignore failures of the 'cat'
operation (by '|| echo 0') and place the link up inside the retry
loop.

Change-Id: I4f098aa5078b8482681394a3e9a6b17ed4bd4451
Closes-Bug: 1654046
2017-01-12 10:36:43 -05:00
..
50-dhcp-all-interfaces Don't set the executable bit on dhcp-interface@.service 2016-12-12 10:55:03 -06:00
60-remove-cloud-image-interfaces Merge "Add Gentoo to the dhcp-all-interfaces element" 2016-04-21 23:03:24 +00:00
dhcp-all-interfaces-udev.rules don't configure 'lo' for dhcp 2016-09-09 09:01:59 +00:00
dhcp-all-interfaces.conf Fix dhcp-all-interfaces upstart job 2014-04-02 09:14:03 +13:00
dhcp-all-interfaces.init dhcp-all-interfaces: support Centos/RHEL 6 2016-11-02 11:13:58 +00:00
dhcp-all-interfaces.sh Handle failure of carrier check in dhcp-all-interfaces.sh 2017-01-12 10:36:43 -05:00
dhcp-interface@.service Shorten DHCP timeout in dhcp-all-interfaces 2016-09-22 17:01:06 -05:00