X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fremote-installer.git;a=blobdiff_plain;f=src%2Fremoteinstaller%2Finstaller%2Fbmc_management%2Foe19.py;h=eafd594bb2e9514f8929637bdf122aab61bbcc8f;hp=b514fd5e62a201d1097b4c7f7ae69b8be1f66d12;hb=HEAD;hpb=f9adb9143ef94b16ae16941652e75deccad506ef diff --git a/src/remoteinstaller/installer/bmc_management/oe19.py b/src/remoteinstaller/installer/bmc_management/oe19.py index b514fd5..eafd594 100644 --- a/src/remoteinstaller/installer/bmc_management/oe19.py +++ b/src/remoteinstaller/installer/bmc_management/oe19.py @@ -15,13 +15,10 @@ from .or18 import OR18 import logging -class BMCException(Exception): - pass - class OE19(OR18): - def __init__(self, host, user, passwd, log_path=None): - super(OE19, self).__init__(host, user, passwd, log_path) + def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None): + super(OE19, 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) - self._run_ipmitool_command('chassis bootdev floppy options=persistent') + logging.debug('Set boot from cdrom (%s), and boot after that', self._host) + self._run_ipmitool_command('chassis bootdev cdrom options=persistent')