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:
Jim Rollenhagen 2014-12-19 11:49:10 -08:00
parent 5585d96b8a
commit bf0129d81b
1 changed files with 0 additions and 3 deletions

View File

@ -160,9 +160,6 @@ class GenericHardwareManager(HardwareManager):
def __init__(self):
self.sys_path = '/sys'
if os.path.isdir('/mnt/sys'):
self.sys_path = '/mnt/sys'
def evaluate_hardware_support(self):
return HardwareSupport.GENERIC