[node-patches] Change in ovirt-node[master]: find_grub_cfg(): Add elif statement to get correct cfg_path ...
hadong0720 at gmail.com
hadong0720 at gmail.com
Wed Aug 13 09:28:41 UTC 2014
hadong has posted comments on this change.
Change subject: find_grub_cfg(): Add elif statement to get correct cfg_path for efi_boot
......................................................................
Patch Set 8:
Hey Fabian,
For the grub subdirs ,it endswith grub.conf file,
For the grub2 subdirs, it endswith grub.cfg file.
so line 842-845:
for dirName, subdirList, fileList in os.walk(cfg_path):
for f in fileList:
if f.endswith(".conf") or f.endswith(".cfg"):
cfg = "%s/%s" % (dirName, f)
could deal with to catch the grub/grub2 subdirs well.
--
To view, visit http://gerrit.ovirt.org/26418
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I299fb4906d8d2e947130daea1de570a9347bb202
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Joey Boggs <jboggs at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: hadong <hadong0720 at gmail.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
More information about the node-patches
mailing list