summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceAzure.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-23 10:31:11 -0400
committerScott Moser <smoser@ubuntu.com>2016-03-23 10:31:11 -0400
commit5b3cad36be8981cd12cffdf5c5e539b522404000 (patch)
treef2ae50ad2a63a0ccff55f91ef1366319d599ee83 /cloudinit/sources/DataSourceAzure.py
parented55d6bac52c53b9473b9644ce50f61404bfd438 (diff)
downloadvyos-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/sources/DataSourceAzure.py')
0 files changed, 0 insertions, 0 deletions