X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fremote-installer.git;a=blobdiff_plain;f=src%2Fremoteinstaller%2Finstaller%2Fbmc_management%2Frm18.py;h=1c72229483a6a824b17ef93cca09c0df250f076e;hp=e498129a21c3bdb35073ff227594deb144db61c2;hb=bd5d48582c682f3802f4707578b3b06adf650ccf;hpb=f9adb9143ef94b16ae16941652e75deccad506ef diff --git a/src/remoteinstaller/installer/bmc_management/rm18.py b/src/remoteinstaller/installer/bmc_management/rm18.py index e498129..1c72229 100644 --- a/src/remoteinstaller/installer/bmc_management/rm18.py +++ b/src/remoteinstaller/installer/bmc_management/rm18.py @@ -15,12 +15,9 @@ from .or18 import OR18 import logging -class BMCException(Exception): - pass - class RM18(OR18): - def __init__(self, host, user, passwd, log_path=None): - super(RM18, self).__init__(host, user, passwd, log_path) + def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None): + super(RM18, self).__init__(host, user, passwd, priv_level, log_path) def _set_boot_from_virtual_media(self): logging.debug('Set boot from floppy (%s), and boot after that', self._host)