Line 0
Link Here
|
|
|
1 |
--- cloudinit/util.py |
2 |
+++ cloudinit/util.py |
3 |
@@ -1140,7 +1140,7 @@ def find_devs_with_freebsd(criteria=None, oformat='device', |
4 |
devlist = [ |
5 |
p for p in ['/dev/msdosfs/' + label, '/dev/iso9660/' + label] |
6 |
if os.path.exists(p)] |
7 |
- elif criteria == "TYPE=vfat": |
8 |
+ elif criteria == "TYPE=msdosfs": |
9 |
devlist = glob.glob("/dev/msdosfs/*") |
10 |
elif criteria == "TYPE=iso9660": |
11 |
devlist = glob.glob("/dev/iso9660/*") |
12 |
@@ -1667,7 +1667,7 @@ def mount_cb(device, callback, data=None, mtype=None, |
13 |
mtypes = ["auto"] |
14 |
elif platsys.endswith("bsd"): |
15 |
if mtypes is None: |
16 |
- mtypes = ['ufs', 'cd9660', 'vfat'] |
17 |
+ mtypes = ['ufs', 'cd9660', 'msdosfs', 'msdos'] |
18 |
for index, mtype in enumerate(mtypes): |
19 |
if mtype == "iso9660": |
20 |
mtypes[index] = "cd9660" |