Compare commits
No commits in common. "c8" and "imports/c8/redfish-finder-0.3-4.el8" have entirely different histories.
c8
...
imports/c8
@ -1,28 +0,0 @@
|
|||||||
commit 581327fd45351dd53c06a26517bb7f92e19d8f31
|
|
||||||
Author: Charles Rose <charles.rose@dell.com>
|
|
||||||
Date: Mon Aug 31 17:40:08 2020 -0500
|
|
||||||
|
|
||||||
fix parsing HostConfig for DHCP
|
|
||||||
|
|
||||||
assigntype.append(AssignType.DHCP) fails for DHCP because
|
|
||||||
assigntype [] is not set.
|
|
||||||
|
|
||||||
Signed-off-by: Charles Rose <charles.rose@dell.com>
|
|
||||||
|
|
||||||
diff --git a/redfish-finder b/redfish-finder
|
|
||||||
old mode 100644
|
|
||||||
new mode 100755
|
|
||||||
index 9a185b3..461eff9
|
|
||||||
--- a/redfish-finder
|
|
||||||
+++ b/redfish-finder
|
|
||||||
@@ -124,8 +124,8 @@ class HostConfig():
|
|
||||||
if cursor == None:
|
|
||||||
printf("redfish-finder: Unable to parse SMBIOS Host IP Assignment Type")
|
|
||||||
return None
|
|
||||||
+ self.assigntype = []
|
|
||||||
if cursor.split()[0] == "Static":
|
|
||||||
- self.assigntype = []
|
|
||||||
self.assigntype.append(AssignType.STATIC)
|
|
||||||
cursor = cursor_consume_next(cursor, "Host IP Address Format: ")
|
|
||||||
if cursor.split()[0] == "IPv4":
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: redfish-finder
|
Name: redfish-finder
|
||||||
Version: 0.3
|
Version: 0.3
|
||||||
Release: 6%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Utility for parsing SMBIOS information and configuring canonical BMC access
|
Summary: Utility for parsing SMBIOS information and configuring canonical BMC access
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -10,7 +10,6 @@ Source0: %url/archive/V%{version}/%{name}-%{version}.tar.gz
|
|||||||
|
|
||||||
Patch0: redfish-finder-multi-block.patch
|
Patch0: redfish-finder-multi-block.patch
|
||||||
Patch1: hostname-null-check.patch
|
Patch1: hostname-null-check.patch
|
||||||
Patch2: hostconfig-dhcp-parse.patch
|
|
||||||
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
@ -52,12 +51,6 @@ install -D -p -m 0644 ./redfish-finder.service %{buildroot}/%{_unitdir}/redfish-
|
|||||||
%{_unitdir}/redfish-finder.service
|
%{_unitdir}/redfish-finder.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Feb 12 2021 Joel Savitz <jsavitz@redhat.com> - 0.3-6
|
|
||||||
- Fix typo in spec file (bz1951216)
|
|
||||||
|
|
||||||
* Fri Feb 12 2021 Joel Savitz <jsavitz@redhat.com> - 0.3-5
|
|
||||||
- Fix parsing HostConfig for DHCP (bz1874653)
|
|
||||||
|
|
||||||
* Thu Oct 17 2019 Neil Horman <nhorman@redhat.com> - 0.3-4
|
* Thu Oct 17 2019 Neil Horman <nhorman@redhat.com> - 0.3-4
|
||||||
- Fix null hostname check (bz1729343)
|
- Fix null hostname check (bz1729343)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user