diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-07-12 14:26:29 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-07-12 14:26:29 -0400 |
commit | f12b49049e30c49f24797df3d0432e966dd6ea74 (patch) | |
tree | b4fcb325851de74f3ed67c07028db6e2013228d0 /cloudinit | |
parent | 29303d3bd372ab8cf711a59a580f3373c6f42254 (diff) | |
download | vyos-cloud-init-f12b49049e30c49f24797df3d0432e966dd6ea74.tar.gz vyos-cloud-init-f12b49049e30c49f24797df3d0432e966dd6ea74.zip |
DataSourceOVF: do not log exception on failed mount
during datasourceovf looking for a transport, the failed
mounts were having exceptions logged (triggering an unneccessary
warning also)
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/sources/DataSourceOVF.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cloudinit/sources/DataSourceOVF.py b/cloudinit/sources/DataSourceOVF.py index 7728b36f..d3c42f3b 100644 --- a/cloudinit/sources/DataSourceOVF.py +++ b/cloudinit/sources/DataSourceOVF.py @@ -213,8 +213,7 @@ def transport_iso9660(require_iso=True): (fname, contents) = util.mount_cb(fullp, get_ovf_env, mtype="iso9660") except util.MountFailedError: - util.logexc(LOG, "Failed mounting %s", fullp) - continue + log.debug("%s not mountable as iso9660" % fullp) if contents is not False: return (contents, fullp, fname) |