Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:16.0:FactoryCandidates
redfish-finder
fix_parsing_HostConfig_for_dhcp.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_parsing_HostConfig_for_dhcp.patch of Package redfish-finder
From 581327fd45351dd53c06a26517bb7f92e19d8f31 Mon Sep 17 00:00:00 2001 From: Charles Rose <charles.rose@dell.com> Date: Mon, 31 Aug 2020 17:40:08 -0500 Subject: [PATCH] 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> --- redfish-finder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 redfish-finder diff --git a/redfish-finder b/redfish-finder old mode 100644 new mode 100755 index 9a185b3..461eff9 --- a/redfish-finder +++ b/redfish-finder @@ -123,8 +123,8 @@ class HostConfig(): cursor = cursor_consume_next(cursor, "Host IP Assignment Type: ") if cursor == None: raise RuntimeError("redfish-finder: Unable to parse SMBIOS Host IP Assignment Type") + 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":
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor