diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-15 18:38:10 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-15 18:38:10 -0700 |
commit | b7b4d8543780579e902cca4e2485e3ef8347f0df (patch) | |
tree | 2ffd73aaacf9118ffff74cd5f3322710bdc54afc /cloudinit/distros/ubuntu.py | |
parent | f6b08a5dbad79ff62608626e055ff4c30d3c7492 (diff) | |
download | vyos-cloud-init-b7b4d8543780579e902cca4e2485e3ef8347f0df.tar.gz vyos-cloud-init-b7b4d8543780579e902cca4e2485e3ef8347f0df.zip |
Self variable missing
Diffstat (limited to 'cloudinit/distros/ubuntu.py')
-rw-r--r-- | cloudinit/distros/ubuntu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/ubuntu.py b/cloudinit/distros/ubuntu.py index e68f3064..6b0aff47 100644 --- a/cloudinit/distros/ubuntu.py +++ b/cloudinit/distros/ubuntu.py @@ -73,7 +73,7 @@ class Distro(distros.Distro): LOG.debug("Setting hostname to %s", hostname) util.subp(['hostname', hostname]) - def _read_hostname(filename, default=None): + def _read_hostname(self, filename, default=None): contents = util.load_file(filename, quiet=True) for line in contents.splitlines(): hpos = line.find("#") |