Пример #1
0
def doReIPL(anaconda):
    if not iutil.isS390() or anaconda.dir == DISPATCH_BACK:
        return DISPATCH_NOOP

    anaconda.reIPLMessage = iutil.reIPL(anaconda, os.getppid())

    return DISPATCH_FORWARD
Пример #2
0
def doReIPL(anaconda):
    if not iutil.isS390() or anaconda.dir == DISPATCH_BACK:
        return DISPATCH_NOOP

    anaconda.reIPLMessage = iutil.reIPL(anaconda, os.getppid())

    return DISPATCH_FORWARD
Пример #3
0
def doReIPL(anaconda):
#   # This is here as an example to fix the screen during the TUI debugging path
#   anaconda.intf.screen.suspend ()
#   import pdb
#   pdb.set_trace ()

    if not iutil.isS390() or anaconda.dir == DISPATCH_BACK:
        return DISPATCH_NOOP

    messageInfo = iutil.reIPL(anaconda, os.getppid())

    if messageInfo:
        (errorMessage, rebootInstr) = messageInfo

        # errorMessage intentionally not shown in UI
        anaconda.reIPLMessage = rebootInstr

    return DISPATCH_FORWARD
Пример #4
0
def doReIPL(anaconda):
    #   # This is here as an example to fix the screen during the TUI debugging path
    #   anaconda.intf.screen.suspend ()
    #   import pdb
    #   pdb.set_trace ()

    if not iutil.isS390() or anaconda.dir == DISPATCH_BACK:
        return DISPATCH_NOOP

    messageInfo = iutil.reIPL(anaconda, os.getppid())

    if messageInfo:
        (errorMessage, rebootInstr) = messageInfo

        # errorMessage intentionally not shown in UI
        anaconda.reIPLMessage = rebootInstr

    return DISPATCH_FORWARD
def doReIPL(anaconda):
    if not rhpl.getArch() in ['s390', 's390x']:
        return DISPATCH_NOOP

    messageInfo = iutil.reIPL(anaconda, os.getppid())

    # @TBD seeing a bug here where anaconda.canReIPL and anaconda.reIPLMessage are
    # not initialized even though they were in Anaconda.__init__()
    if messageInfo is None:
        anaconda.canReIPL = True

        anaconda.reIPLMessage = None
    else:
        anaconda.canReIPL = False

        (errorMessage, rebootInstr) = messageInfo

        # errorMessage intentionally not shown in UI
        anaconda.reIPLMessage = rebootInstr

    return DISPATCH_FORWARD
Пример #6
0
def doReIPL(anaconda):
    if (not rhpl.getArch() in ['s390', 's390x']
            or anaconda.dir == DISPATCH_BACK):
        return DISPATCH_NOOP

    messageInfo = iutil.reIPL(anaconda, os.getppid())

    # @TBD seeing a bug here where anaconda.canReIPL and anaconda.reIPLMessage are
    # not initialized even though they were in Anaconda.__init__()
    if messageInfo is None:
        anaconda.canReIPL = True

        anaconda.reIPLMessage = None
    else:
        anaconda.canReIPL = False

        (errorMessage, rebootInstr) = messageInfo

        # errorMessage intentionally not shown in UI
        anaconda.reIPLMessage = rebootInstr

    return DISPATCH_FORWARD