From 4213f7c28c2b6788938b1504e5dec7fcda2b8806 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 15 Feb 2012 16:03:37 -0500 Subject: DataSourceOVF: only search for OVF data on ISO9660 filesystems I believe this will resolve LP: #898373 by making DataSourceOVF restrict its mounting of filesystems to iso9660. By doing this, it will never mount a ext3 (or btrfs or any fs that mountall would fsck) and thus will avoid any races with that. LP: #898373 --- cloudinit/DataSourceOVF.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/DataSourceOVF.py') diff --git a/cloudinit/DataSourceOVF.py b/cloudinit/DataSourceOVF.py index 1f2b622e..a0b1b518 100644 --- a/cloudinit/DataSourceOVF.py +++ b/cloudinit/DataSourceOVF.py @@ -162,7 +162,7 @@ def get_ovf_env(dirname): # transport functions take no input and return # a 3 tuple of content, path, filename -def transport_iso9660(require_iso=False): +def transport_iso9660(require_iso=True): # default_regex matches values in # /lib/udev/rules.d/60-cdrom_id.rules -- cgit v1.2.3