diff options
Diffstat (limited to 'cloudinit/distros')
-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) |