Douglas Schilling Landgraf has uploaded a new change for review. Change subject: install: Fix reference to use SystemRelease() methods ......................................................................
install: Fix reference to use SystemRelease() methods The commit eb24f76f requires to add the SystemRelease(). Change-Id: I6a883ae7e45c8439eae9e13b2a85834b7b8c73df Signed-off-by: Douglas Schilling Landgraf <[email protected]> --- M src/ovirtnode/install.py 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/11/41811/1 diff --git a/src/ovirtnode/install.py b/src/ovirtnode/install.py index ac348b0..73f086d 100755 --- a/src/ovirtnode/install.py +++ b/src/ovirtnode/install.py @@ -45,10 +45,10 @@ self.efi_path = self._get_efi_path() def _get_efi_path(self): - if not _system.is_el(): + if not _system.SystemRelease().is_el(): return "EFI/fedora" - elif _system.is_centos(): - if _system.is_min_el(7): + elif _system.SystemRelease().is_centos(): + if _system.SystemRelease().is_min_el(7): return "EFI/centos" else: return "EFI/redhat" -- To view, visit https://gerrit.ovirt.org/41811 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6a883ae7e45c8439eae9e13b2a85834b7b8c73df Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Douglas Schilling Landgraf <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
