summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceOVF.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-09-30 13:26:03 -0400
committerScott Moser <smoser@ubuntu.com>2014-09-30 13:26:03 -0400
commita429725ede3395a7e9c21b864a82e2c092657ae2 (patch)
tree3f3ae31e40ddd7f94c662c2d3f5f2108af5cda97 /cloudinit/sources/DataSourceOVF.py
parentb76866ad72d433cc9008a137c464c7ed44401549 (diff)
parent87080e18f8fb2522a01ccbe58c60b5e06bfdd5d7 (diff)
downloadvyos-cloud-init-a429725ede3395a7e9c21b864a82e2c092657ae2.tar.gz
vyos-cloud-init-a429725ede3395a7e9c21b864a82e2c092657ae2.zip
FreeBSD: Support ConfigDrive
Add support for freebsd reading config drive. Primary work is related to re-factoring mount_cb to not be so linux specific. Other changes: * declare PATH in freebsd initscripts * list dependency on e2fsprogs (for blkid) * enable ConfigDrive in freebsd config * hosts.freebsd.tmpl added
Diffstat (limited to 'cloudinit/sources/DataSourceOVF.py')
-rw-r--r--cloudinit/sources/DataSourceOVF.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloudinit/sources/DataSourceOVF.py b/cloudinit/sources/DataSourceOVF.py
index 2f53c1ba..7ba60735 100644
--- a/cloudinit/sources/DataSourceOVF.py
+++ b/cloudinit/sources/DataSourceOVF.py
@@ -215,8 +215,7 @@ def transport_iso9660(require_iso=True):
continue
try:
- (fname, contents) = util.mount_cb(fullp,
- get_ovf_env, mtype=mtype)
+ (fname, contents) = util.mount_cb(fullp, get_ovf_env, mtype=mtype)
except util.MountFailedError:
LOG.debug("%s not mountable as iso9660" % fullp)
continue