Currently format options can be specified only for doFormat
function. This patch provides options to set the format options.
Usage ex:-
format = blivet.formats.getFormat("xfs", device=lv.path)
format.formatOptions = ["-f", "-K", "-i",
"size=256", "-d", ...]
blivetEnv.formatDevice(lv, format)
blivetEnv.doIt()
bug-url:
https://bugzilla.redhat.com/show_bug.cgi?id=1180221
Signed-off-by: Timothy Asir Jeyasingh <tjeyasin(a)redhat.com>
--
To view this pull request on github, visit
https://github.com/rhinstaller/blivet/pull/44