Handle failure of carrier check in configure_safe_defaults()
authorBob Fournier <bfournie@redhat.com>
Wed, 23 Aug 2017 21:15:34 +0000 (17:15 -0400)
committerEmilien Macchi <emilien@redhat.com>
Sat, 26 Aug 2017 14:57:43 +0000 (14:57 +0000)
commit56eaad835dde784a963d8802f862d9827ec942ed
tree32916781bcff50488fd50503ef7b5f9edc2022fe
parent98f578b7789cb4edef1090574ab7ab854f886fed
Handle failure of carrier check in configure_safe_defaults()

Configure_safe_defaults() should handle carrier check failures
in the same way as the change that was made to
dhcp-all-interfaces.sh in https://review.openstack.org/#/c/419527/.
That is, it should ignore failures when cat'ing the carrier file.

Change-Id: I100a40835d0ccecee9b4851aae6366c6ab4813a5
Closes-Bug: 1712687
(cherry picked from commit ed976d285caab1858f0b6e74e14a723113d27052)
network/scripts/run-os-net-config.sh