summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceNone.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/sources/DataSourceNone.py')
-rw-r--r--cloudinit/sources/DataSourceNone.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cloudinit/sources/DataSourceNone.py b/cloudinit/sources/DataSourceNone.py
index e63a7e39..e6250801 100644
--- a/cloudinit/sources/DataSourceNone.py
+++ b/cloudinit/sources/DataSourceNone.py
@@ -28,6 +28,10 @@ class DataSourceNone(sources.DataSource):
self.metadata = self.ds_cfg['metadata']
return True
+ def _get_subplatform(self):
+ """Return the subplatform metadata source details."""
+ return 'config'
+
def get_instance_id(self):
return 'iid-datasource-none'