diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-05-26 11:22:39 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-05-26 11:22:39 -0400 |
commit | 399eb29662ee67f7744d3a482f63e8af377e75db (patch) | |
tree | e51f10184da4589a4fa3436b1116f6e2ba581285 /cloudinit | |
parent | f358f286dc4887fc40b5e2ad370dc35d46905121 (diff) | |
download | vyos-cloud-init-399eb29662ee67f7744d3a482f63e8af377e75db.tar.gz vyos-cloud-init-399eb29662ee67f7744d3a482f63e8af377e75db.zip |
config drive: log where network config came from
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/sources/DataSourceConfigDrive.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cloudinit/sources/DataSourceConfigDrive.py b/cloudinit/sources/DataSourceConfigDrive.py index 20df5fcd..2d13a32f 100644 --- a/cloudinit/sources/DataSourceConfigDrive.py +++ b/cloudinit/sources/DataSourceConfigDrive.py @@ -146,9 +146,13 @@ class DataSourceConfigDrive(openstack.SourceMixin, sources.DataSource): def network_config(self): if self._network_config is None: if self.network_json is not None: + LOG.debug("network config provided via network_json") self._network_config = convert_network_data(self.network_json) elif self.network_eni is not None: self._network_config = net.convert_eni_data(self.network_eni) + LOG.debug("network config provided via converted eni data") + else: + LOG.debug("no network configuration available") return self._network_config |