diff options
author | Wesley Wiedenmeier <wesley.wiedenmeier@gmail.com> | 2016-03-21 23:41:47 -0500 |
---|---|---|
committer | Wesley Wiedenmeier <wesley.wiedenmeier@gmail.com> | 2016-03-21 23:41:47 -0500 |
commit | 4c3468985d93929df4e9486b2e68938806fbfa1b (patch) | |
tree | 775b56452e659a8f85399bff94eded4567151a34 /cloudinit/util.py | |
parent | 9a146e83189ef3128a04c9e0c1d21c6181f554f1 (diff) | |
download | vyos-cloud-init-4c3468985d93929df4e9486b2e68938806fbfa1b.tar.gz vyos-cloud-init-4c3468985d93929df4e9486b2e68938806fbfa1b.zip |
Fix typo in disable_conf_file and mistake in call
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r-- | cloudinit/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py index fa3a6163..58ab3c75 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -853,7 +853,7 @@ def disable_conf_file(conf): # disable .cfg file by renaming it if it exists if not os.path.exists(conf): return None - target_path = os.path.join(conf, '.disabled') + target_path = conf + '.disabled' rename(conf, target_path) return target_path |