summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index b53aa5fe..0a691dcf 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -681,7 +681,7 @@ def mount_callback_umount(device, callback, data=None):
umount = False
if device in mounted:
- mountpoint = mounted[device][2]
+ mountpoint = "%s/" % mounted[device][2]
else:
tmpd = tempfile.mkdtemp()
@@ -695,7 +695,7 @@ def mount_callback_umount(device, callback, data=None):
print exc.output[1]
raise mountFailedError(exc.output[1])
- mountpoint = tmpd
+ mountpoint = "%s/" % tmpd
try:
if data == None: