diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-19 18:07:47 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-19 18:07:47 -0700 |
commit | 319412b9fac28ae0a0ae059f44e668bc7d3bf857 (patch) | |
tree | 645db52991056ed9630a872e6a93ce448bedab89 /cloudinit/distros/ubuntu.py | |
parent | 43eb6d5aace53bef2116dde0796807befef1d8ff (diff) | |
download | vyos-cloud-init-319412b9fac28ae0a0ae059f44e668bc7d3bf857.tar.gz vyos-cloud-init-319412b9fac28ae0a0ae059f44e668bc7d3bf857.zip |
More paths missed (durn), but now fixed.
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 94565b14..eeda2921 100644 --- a/cloudinit/distros/ubuntu.py +++ b/cloudinit/distros/ubuntu.py @@ -59,7 +59,7 @@ class Distro(distros.Distro): lines.append("# Created by cloud-init") lines.append(str(hostname)) contents = "\n".join(lines) - util.write_file(out_fn, contents, 0644) + util.write_file(self._paths.join(False, out_fn), contents, 0644) def update_hostname(self, hostname, prev_file): hostname_prev = self._read_hostname(prev_file) |