diff options
author | harlowja <harlowja@virtualbox.rhel> | 2012-06-21 09:12:16 -0700 |
---|---|---|
committer | harlowja <harlowja@virtualbox.rhel> | 2012-06-21 09:12:16 -0700 |
commit | 0c83ff5cb81b6de3028cf90e7dd6aba565682dbf (patch) | |
tree | a499408fa70a248b32f0e82e36b9ae893dce46e9 /cloudinit/config/cc_mounts.py | |
parent | 64f1347cb8f2580339d539b7772e7872ed81cae9 (diff) | |
download | vyos-cloud-init-0c83ff5cb81b6de3028cf90e7dd6aba565682dbf.tar.gz vyos-cloud-init-0c83ff5cb81b6de3028cf90e7dd6aba565682dbf.zip |
1. Renames for debug message from 'transform' to 'module'
2. Fixing up more cloud.path.joins found to use the right ro/rw filename
Diffstat (limited to 'cloudinit/config/cc_mounts.py')
-rw-r--r-- | cloudinit/config/cc_mounts.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/config/cc_mounts.py b/cloudinit/config/cc_mounts.py index ab097c2a..d3dcf7af 100644 --- a/cloudinit/config/cc_mounts.py +++ b/cloudinit/config/cc_mounts.py @@ -188,8 +188,9 @@ def handle(_name, cfg, cloud, log, _args): util.logexc(log, "Activating swap via 'swapon -a' failed") for d in dirs: + real_dir = cloud.paths.join(False, d) try: - util.ensure_dir(cloud.paths.join(False, d)) + util.ensure_dir(real_dir) except: util.logexc(log, "Failed to make '%s' config-mount", d) |