diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-07-09 16:03:22 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-07-09 16:03:22 -0400 |
commit | 4368b264be42472c53bc3333587c7029373ad56a (patch) | |
tree | b4ee393e17d89b72f143f588757408810e533fcc /cloudinit/sources | |
parent | c12845193066ac2eb14b9bbef75657d579b696b5 (diff) | |
download | vyos-cloud-init-4368b264be42472c53bc3333587c7029373ad56a.tar.gz vyos-cloud-init-4368b264be42472c53bc3333587c7029373ad56a.zip |
mention using cached
Diffstat (limited to 'cloudinit/sources')
-rw-r--r-- | cloudinit/sources/DataSourceAzure.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cloudinit/sources/DataSourceAzure.py b/cloudinit/sources/DataSourceAzure.py index 92b6172b..d8e39392 100644 --- a/cloudinit/sources/DataSourceAzure.py +++ b/cloudinit/sources/DataSourceAzure.py @@ -89,6 +89,9 @@ class DataSourceAzureNet(sources.DataSource): if not found: return False + if found == ddir: + LOG.debug("using cached datasource in %s", ddir) + fields = [('cmd', ['datasource', DS_NAME, 'agent_command']), ('datadir', ddir_cfgpath)] mycfg = {} |