diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-03-23 10:31:11 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-03-23 10:31:11 -0400 |
commit | 5b3cad36be8981cd12cffdf5c5e539b522404000 (patch) | |
tree | f2ae50ad2a63a0ccff55f91ef1366319d599ee83 /cloudinit/net/__init__.py | |
parent | ed55d6bac52c53b9473b9644ce50f61404bfd438 (diff) | |
download | vyos-cloud-init-5b3cad36be8981cd12cffdf5c5e539b522404000.tar.gz vyos-cloud-init-5b3cad36be8981cd12cffdf5c5e539b522404000.zip |
trust existing datasource in modules or single
This fixes a bug where modules mode was not passing a 'existing'
flag to fetch. fetch had existing default to 'check'.
The DataSourceNoCloud when fed with data from a disk will return
False to check() as it is not a guarantee'd hit.
That caused fetch to go looking for a new datasource.
That would have actually worked, but modules and single create
the Init with deps=[]. So it went looking for Datasources
that matched those deps, and only found DataSourceNone.
I'm going to keep having modules and single specify deps=[]
as that will prevent them from going to look for a DS and
further making things worse.
Diffstat (limited to 'cloudinit/net/__init__.py')
0 files changed, 0 insertions, 0 deletions