diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-11-12 22:08:26 -0800 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-11-12 22:08:26 -0800 |
commit | d5aeda9535ab530fd2c09e6ad37443c9013c3b4d (patch) | |
tree | be82911e1d38663286c612844a4c85bf4aaa70f6 | |
parent | aa6fe50ac4e09490a16c7b7200d57496d9f755bf (diff) | |
download | vyos-cloud-init-d5aeda9535ab530fd2c09e6ad37443c9013c3b4d.tar.gz vyos-cloud-init-d5aeda9535ab530fd2c09e6ad37443c9013c3b4d.zip |
Fix variable.
-rw-r--r-- | cloudinit/distros/__init__.py | 3 |
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) |