FreeBSD fix fs related bugs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
1) FreeBSD not support vfat use msdosfs
Original report https:/
"Feel free to submit upstream if you have signed the CLA. I do not want to sign it."
2) if fs have trim: (-t) or MAC multilabel: (-l) flag, resize FS fail.
https:/
2020-10-28 17:15:07,015 - handlers.py[DEBUG]: finish: init-network/
...
File "/usr/local/
optlist, _args = getopt.
File "/usr/local/
opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:])
File "/usr/local/
if short_has_arg(opt, shortopts):
File "/usr/local/
raise GetoptError(
getopt.
I'm not sure this portion of your patch makes sense, because the criteria is coming from outside the function
```
- elif criteria == "TYPE=vfat":
+ elif criteria == "TYPE=msdosfs":
```
so vfat is the clue, and then we go looking for msdos or msdosfs