Displaying 1 result from an estimated 1 matches for "bootfsgroup".
2012 Jul 19
2
[PATCH] pygrub: add syslog support to pygrub
...LY)
- if output is None or output == "-":
- fd = sys.stdout.fileno()
- else:
- fd = os.open(output, os.O_WRONLY)
+ # if boot filesystem is set then pass to fsimage.open
+ bootfsargs = ''"%s"'' % incfg["args"]
+ bootfsgroup = re.findall(''zfs-bootfs=(.*?)[\s\,\"]'', bootfsargs)
+ if bootfsgroup:
+ bootfsoptions = bootfsgroup[0]
+ else:
+ bootfsoptions = ""
- # debug
- if isconfig:
- chosencfg = run_grub(file, entry, fs, incfg["args&...