summaryrefslogtreecommitdiff
path: root/cloudinit/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/__init__.py')
-rw-r--r--cloudinit/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py
index 82dfaa8f..f471f363 100644
--- a/cloudinit/__init__.py
+++ b/cloudinit/__init__.py
@@ -452,8 +452,8 @@ class CloudInit:
def get_mirror(self):
return(self.datasource.get_local_mirror())
- def get_hostname(self):
- return(self.datasource.get_hostname())
+ def get_hostname(self, fqdn=False):
+ return(self.datasource.get_hostname(fqdn=fqdn))
def device_name_to_device(self,name):
return(self.datasource.device_name_to_device(name))