diff options
author | Gerard Dethier <g.dethier@gmail.com> | 2013-01-07 12:20:58 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-01-07 12:20:58 -0500 |
commit | 4fde399a38765fa9641b3177b966ad6c8ec9750f (patch) | |
tree | 0508f8e69dfe260bfd53d580d0064905eab083f9 /tests/unittests | |
parent | 573d2b6cbdbcd6451290e0619f41ddc84f02f683 (diff) | |
download | vyos-cloud-init-4fde399a38765fa9641b3177b966ad6c8ec9750f.tar.gz vyos-cloud-init-4fde399a38765fa9641b3177b966ad6c8ec9750f.zip |
DataSourceCloudStack: fallback to default route if no virtual router found
Changes in revision 753 broke cloud-init on ubuntu, as it has a different
dhclient directory than Fedora where the change was developed and tested.
This change does 2 things:
* searches multiple directories (including /var/lib/dhcp) for the lease
files.
* adds a fallback to the old code path of choosing the default route
as the virtual router if there were no virtual routers found in the
lease files.
LP: #1089989
Diffstat (limited to 'tests/unittests')
0 files changed, 0 insertions, 0 deletions