summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 58ab3c75..20916e53 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -849,15 +849,6 @@ def read_seeded(base="", ext="", timeout=5, retries=10, file_retries=0):
return (md, ud)
-def disable_conf_file(conf):
- # disable .cfg file by renaming it if it exists
- if not os.path.exists(conf):
- return None
- target_path = conf + '.disabled'
- rename(conf, target_path)
- return target_path
-
-
def read_conf_d(confd):
# Get reverse sorted list (later trumps newer)
confs = sorted(os.listdir(confd), reverse=True)