summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/sources/__init__.py16
1 files changed, 1 insertions, 15 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py
index a7c7993f..7e11c1ca 100644
--- a/cloudinit/sources/__init__.py
+++ b/cloudinit/sources/__init__.py
@@ -82,25 +82,11 @@ class DataSource(object):
return self._filter_xdata(self.userdata)
return self.userdata
- def get_vendordata(self, apply_filter=False):
+ def get_vendordata(self)
if self.vendordata is None:
self.vendordata = self.ud_proc.process(self.get_vendordata_raw())
- if apply_filter:
- return self._filter_xdata(self.vendordata)
return self.vendordata
- def has_vendordata(self):
- if self.vendordata_raw is not None:
- return True
- return False
-
- def consume_vendordata(self):
- """
- The datasource may allow for consumption of vendordata, but only
- when the datasource has allowed it. The default is false.
- """
- return False
-
@property
def launch_index(self):
if not self.metadata: