From d466595828fb11eb143208c29acdc798027d458e Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 6 Oct 2020 09:36:12 -0400 Subject: [PATCH] Recognize a different m.2 name --- confluent_osdeploy/el7/profiles/default/scripts/getinstalldisk | 2 +- confluent_osdeploy/el8/profiles/default/scripts/getinstalldisk | 2 +- .../rhvh4/profiles/default/scripts/getinstalldisk | 2 +- confluent_osdeploy/suse15/profiles/hpc/scripts/getinstalldisk | 2 +- .../ubuntu20.04/profiles/default/scripts/getinstalldisk | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/confluent_osdeploy/el7/profiles/default/scripts/getinstalldisk b/confluent_osdeploy/el7/profiles/default/scripts/getinstalldisk index e4755444..4af31c0b 100644 --- a/confluent_osdeploy/el7/profiles/default/scripts/getinstalldisk +++ b/confluent_osdeploy/el7/profiles/default/scripts/getinstalldisk @@ -49,7 +49,7 @@ class DiskInfo(object): @property def priority(self): - if self.model.lower() in ('thinksystem_m.2_vd', 'thinksystem m.2'): + if self.model.lower() in ('thinksystem_m.2_vd', 'thinksystem m.2', 'thinksystem_m.2'): return 0 if 'imsm' in self.mdcontainer: return 1 diff --git a/confluent_osdeploy/el8/profiles/default/scripts/getinstalldisk b/confluent_osdeploy/el8/profiles/default/scripts/getinstalldisk index e4755444..4af31c0b 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/getinstalldisk +++ b/confluent_osdeploy/el8/profiles/default/scripts/getinstalldisk @@ -49,7 +49,7 @@ class DiskInfo(object): @property def priority(self): - if self.model.lower() in ('thinksystem_m.2_vd', 'thinksystem m.2'): + if self.model.lower() in ('thinksystem_m.2_vd', 'thinksystem m.2', 'thinksystem_m.2'): return 0 if 'imsm' in self.mdcontainer: return 1 diff --git a/confluent_osdeploy/rhvh4/profiles/default/scripts/getinstalldisk b/confluent_osdeploy/rhvh4/profiles/default/scripts/getinstalldisk index e4755444..4af31c0b 100644 --- a/confluent_osdeploy/rhvh4/profiles/default/scripts/getinstalldisk +++ b/confluent_osdeploy/rhvh4/profiles/default/scripts/getinstalldisk @@ -49,7 +49,7 @@ class DiskInfo(object): @property def priority(self): - if self.model.lower() in ('thinksystem_m.2_vd', 'thinksystem m.2'): + if self.model.lower() in ('thinksystem_m.2_vd', 'thinksystem m.2', 'thinksystem_m.2'): return 0 if 'imsm' in self.mdcontainer: return 1 diff --git a/confluent_osdeploy/suse15/profiles/hpc/scripts/getinstalldisk b/confluent_osdeploy/suse15/profiles/hpc/scripts/getinstalldisk index e4755444..4af31c0b 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/scripts/getinstalldisk +++ b/confluent_osdeploy/suse15/profiles/hpc/scripts/getinstalldisk @@ -49,7 +49,7 @@ class DiskInfo(object): @property def priority(self): - if self.model.lower() in ('thinksystem_m.2_vd', 'thinksystem m.2'): + if self.model.lower() in ('thinksystem_m.2_vd', 'thinksystem m.2', 'thinksystem_m.2'): return 0 if 'imsm' in self.mdcontainer: return 1 diff --git a/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/getinstalldisk b/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/getinstalldisk index e4755444..4af31c0b 100644 --- a/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/getinstalldisk +++ b/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/getinstalldisk @@ -49,7 +49,7 @@ class DiskInfo(object): @property def priority(self): - if self.model.lower() in ('thinksystem_m.2_vd', 'thinksystem m.2'): + if self.model.lower() in ('thinksystem_m.2_vd', 'thinksystem m.2', 'thinksystem_m.2'): return 0 if 'imsm' in self.mdcontainer: return 1