Skip to content

STABLE-8: OXT-796: xenmgr: Match multi-strings in dmi chassis type.#131

Merged
jean-edouard merged 1 commit intoOpenXT:stable-8from
eric-ch:s8-oxt-796
Nov 6, 2018
Merged

STABLE-8: OXT-796: xenmgr: Match multi-strings in dmi chassis type.#131
jean-edouard merged 1 commit intoOpenXT:stable-8from
eric-ch:s8-oxt-796

Conversation

@eric-ch
Copy link
Copy Markdown
Contributor

@eric-ch eric-ch commented Nov 6, 2018

dmidecode may return more than one type, e.g:
root@e7470:~# dmidecode -s chassis-type
Laptop
Docking Station

A docked laptop is still a laptop.
Use a list of keywords and check every line for a match.

(cherry picked from commit 6a756b4)

dmidecode may return more than one type, e.g:
root@e7470:~# dmidecode -s chassis-type
Laptop
Docking Station

A docked laptop is still a laptop.
Use a list of keywords and check every line for a match.

Signed-off-by: Eric Chanudet <chanudete@ainfosec.com>

OXT-796

(cherry picked from commit 6a756b4)
Signed-off-by: Eric Chanudet <chanudete@ainfosec.com>
@jean-edouard
Copy link
Copy Markdown
Member

LGTM, merging soon.

@jean-edouard jean-edouard merged commit 08ef585 into OpenXT:stable-8 Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants