Remove /mnt/sys support
This code was here to allow IPA to be ran inside a docker container with /sys bind-mounted in to /mnt/sys. IPA no longer can run inside a docker container anyway, so remove this. Change-Id: Ia6a9c2e49870b7a74087e3fed2fc42d5b8b6b81c Closes-Bug: #1404362
This commit is contained in:
@@ -160,9 +160,6 @@ class GenericHardwareManager(HardwareManager):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.sys_path = '/sys'
|
self.sys_path = '/sys'
|
||||||
|
|
||||||
if os.path.isdir('/mnt/sys'):
|
|
||||||
self.sys_path = '/mnt/sys'
|
|
||||||
|
|
||||||
def evaluate_hardware_support(self):
|
def evaluate_hardware_support(self):
|
||||||
return HardwareSupport.GENERIC
|
return HardwareSupport.GENERIC
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user