Fix BMCException handling
[ta/remote-installer.git] / src / remoteinstaller / installer / bmc_management / hw17.py
index a7b5bec..42229fb 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-from .bmctools import BMC
+from .bmctools import BMC, BMCException
 import logging
 import time
 
-class BMCException(Exception):
-    pass
-
 class HW17(BMC):
-    def __init__(self, host, user, passwd, log_path=None):
-        super(HW17, self).__init__(host, user, passwd, log_path)
+    def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None):
+        super(HW17, self).__init__(host, user, passwd, priv_level, log_path)
 
     def attach_virtual_cd(self, nfs_host, nfs_mount, boot_iso_filename):
         for _ in range(2):