summaryrefslogtreecommitdiff
path: root/cloudinit/distros
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-11-12 22:08:26 -0800
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-11-12 22:08:26 -0800
commitd5aeda9535ab530fd2c09e6ad37443c9013c3b4d (patch)
treebe82911e1d38663286c612844a4c85bf4aaa70f6 /cloudinit/distros
parentaa6fe50ac4e09490a16c7b7200d57496d9f755bf (diff)
downloadvyos-cloud-init-d5aeda9535ab530fd2c09e6ad37443c9013c3b4d.tar.gz
vyos-cloud-init-d5aeda9535ab530fd2c09e6ad37443c9013c3b4d.zip
Fix variable.
Diffstat (limited to 'cloudinit/distros')
-rw-r--r--cloudinit/distros/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index 464ae550..3fc4483b 100644
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -146,8 +146,7 @@ class Distro(object):
def _select_hostname(self, hostname, fqdn):
raise NotImplementedError()
- def update_hostname(self, hostname, fqdn,
- previous_hostname_filename):
+ def update_hostname(self, hostname, fqdn, prev_hostname_fn):
applying_hostname = hostname
hostname = self._select_hostname(hostname, fqdn)
prev_hostname = self._read_hostname(prev_hostname_fn)