The remote installer sets the next boot to the floppy device, apparently
to force a boot from remote media. On current OE19 firmware, this
appears to result in a boot from the default hard drive instead. This
change sets the next boot to cd, which appears to work when issued
manually
signed-off-by: dave kormann <davek@research.att.com>
Change-Id: Ib44550055596cf69a688b0e57060d8315cb6e887
Name: remote-installer
Version: %{_version}
Name: remote-installer
Version: %{_version}
Summary: Contains components for the remote-installer
Group: %{_platform_group}
License: %{_platform_licence}
Summary: Contains components for the remote-installer
Group: %{_platform_group}
License: %{_platform_licence}
import logging
import time
import logging
import time
-from .bmctools import BMC
+from .bmctools import BMC, BMCException
RAW_CHECK_NFS_SERVICE_STATUS = '0x32 0xd8 0x06 0x01 0x01 0x00'
RAW_CHECK_NFS_SERVICE_STATUS = '0x32 0xd8 0x06 0x01 0x01 0x00'
RAW_SET_IMG_NAME = '0x32 0xd7 0x01 0x01 0x01 0x01 %s'
RAW_STOP_REDIRECT = '0x32 0xd7 0x01 0x01 0x01 0x00 %s'
RAW_SET_IMG_NAME = '0x32 0xd7 0x01 0x01 0x01 0x01 %s'
RAW_STOP_REDIRECT = '0x32 0xd7 0x01 0x01 0x01 0x00 %s'
-class BMCException(Exception):
- pass
-
class FALCON(BMC):
def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None):
super(FALCON, self).__init__(host, user, passwd, priv_level, log_path)
class FALCON(BMC):
def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None):
super(FALCON, self).__init__(host, user, passwd, priv_level, log_path)
# See the License for the specific language governing permissions and
# limitations under the License.
# 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
import logging
import time
-class BMCException(Exception):
- pass
-
class HW17(BMC):
def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None):
super(HW17, self).__init__(host, user, passwd, priv_level, log_path)
class HW17(BMC):
def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None):
super(HW17, self).__init__(host, user, passwd, priv_level, log_path)
from .or18 import OR18
import logging
from .or18 import OR18
import logging
-class BMCException(Exception):
- pass
-
class OE19(OR18):
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):
class OE19(OR18):
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')
import logging
import time
import logging
import time
-from .bmctools import BMC
-
-class BMCException(Exception):
- pass
+from .bmctools import BMC, BMCException
class OR18(BMC):
def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None):
class OR18(BMC):
def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None):
from .or18 import OR18
import logging
from .or18 import OR18
import logging
-class BMCException(Exception):
- pass
-
class RM18(OR18):
def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None):
super(RM18, self).__init__(host, user, passwd, priv_level, log_path)
class RM18(OR18):
def __init__(self, host, user, passwd, priv_level='ADMINISTRATOR', log_path=None):
super(RM18, self).__init__(host, user, passwd, priv_level, log_path)