diff options
| author | Scott Moser <smoser@ubuntu.com> | 2011-01-19 16:11:55 -0500 |
|---|---|---|
| committer | Scott Moser <smoser@ubuntu.com> | 2011-01-19 16:11:55 -0500 |
| commit | 7a187863644c0a5baf2c72c3029621677cbb56c6 (patch) | |
| tree | 9789fc61a6af27cb3d3d7c6da64193767fccb1d7 /cloud-init-cfg.py | |
| parent | 738766778c88bcfe692f8df17f91c4d5c6c90cdd (diff) | |
| parent | f2cb6fa249c0f9a17aa8efd27749860622fd8ae1 (diff) | |
| download | vyos-cloud-init-7a187863644c0a5baf2c72c3029621677cbb56c6.tar.gz vyos-cloud-init-7a187863644c0a5baf2c72c3029621677cbb56c6.zip | |
pull in the rework of /var/lib/cloud.
- /var/lib/cloud is redesigned, and its layout now described in
doc/var-lib-cloud.txt.
The big plus point of this was to get instance specific data
into /var/lib/cloud/instances, so that data could easily be purged.
A symlink /var/lib/cloud/instance -> /var/lib/cloud/instances/<current_id>
is maintained.
- Also, now run scripts in /var/lib/cloud/scripts/
per-once
per-boot
per-instance
- bugs addressed:
- LP: #704509
Diffstat (limited to 'cloud-init-cfg.py')
| -rwxr-xr-x | cloud-init-cfg.py | 2 |
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] |
