From 0c83ff5cb81b6de3028cf90e7dd6aba565682dbf Mon Sep 17 00:00:00 2001 From: harlowja Date: Thu, 21 Jun 2012 09:12:16 -0700 Subject: 1. Renames for debug message from 'transform' to 'module' 2. Fixing up more cloud.path.joins found to use the right ro/rw filename --- cloudinit/config/cc_mounts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cloudinit/config/cc_mounts.py') 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) -- cgit v1.2.3