diff options
Diffstat (limited to 'cloudinit/util.py')
| -rw-r--r-- | cloudinit/util.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/cloudinit/util.py b/cloudinit/util.py index fe606f23..67ea5553 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -1481,8 +1481,8 @@ def mount_cb(device, callback, data=None, rw=False, mtype=None, sync=True):                                device, mtype, exc)                      pass              if not mountpoint: -                raise MountFailedError( -                    "Failed mounting %s to %s".format(device, tmpd)) +                raise MountFailedError("Failed mounting %s to %s due to: %s" % +                                       (device, tmpd, exc))          # Be nice and ensure it ends with a slash          if not mountpoint.endswith("/"): | 
