summaryrefslogtreecommitdiff
path: root/cloud-init-cfg.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-01-19 19:46:15 +0000
committerScott Moser <smoser@ubuntu.com>2011-01-19 19:46:15 +0000
commit7434e3306d2526173c92ab57db30a0812cc47717 (patch)
tree54f3ad88ecdada0d3f694158b2da135388acf04e /cloud-init-cfg.py
parent01512fdad97b581cd8ac3da8758e704b060f3d03 (diff)
downloadvyos-cloud-init-7434e3306d2526173c92ab57db30a0812cc47717.tar.gz
vyos-cloud-init-7434e3306d2526173c92ab57db30a0812cc47717.zip
convert 'cachedir' to 'seeddir', move cloud_config, scripts to instance
- cloud_config and scripts now live in instance directory - cachedir is now more correctly named 'seeddir'
Diffstat (limited to 'cloud-init-cfg.py')
-rwxr-xr-xcloud-init-cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud-init-cfg.py b/cloud-init-cfg.py
index eb875182..326062a8 100755
--- a/cloud-init-cfg.py
+++ b/cloud-init-cfg.py
@@ -55,7 +55,7 @@ def main():
log = logging.getLogger()
log.info("cloud-init-cfg %s" % sys.argv[1:])
- cfg_path = cloudinit.cloud_config
+ cfg_path = cloudinit.get_ipath_cur("cloud_config")
cfg_env_name = cloudinit.cfg_env_name
if os.environ.has_key(cfg_env_name):
cfg_path = os.environ[cfg_env_name]