summaryrefslogtreecommitdiff
path: root/cloudinit/cloud.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/cloud.py')
-rw-r--r--cloudinit/cloud.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/cloudinit/cloud.py b/cloudinit/cloud.py
index 620b3c07..95e0cfb2 100644
--- a/cloudinit/cloud.py
+++ b/cloudinit/cloud.py
@@ -70,12 +70,16 @@ class Cloud(object):
return fn
# The rest of thes are just useful proxies
- def get_userdata(self):
- return self.datasource.get_userdata()
+ def get_userdata(self, apply_filter=True):
+ return self.datasource.get_userdata(apply_filter)
def get_instance_id(self):
return self.datasource.get_instance_id()
+ @property
+ def launch_index(self):
+ return self.datasource.launch_index
+
def get_public_ssh_keys(self):
return self.datasource.get_public_ssh_keys()