mambo/core.py
def show_connection_info(self, version):
        '''Show to the user how to connect to the simulator'''
        try:
            self.print_line()
            sversion = 'IBM POWER' + version[-1:] + ' Functional Simulator'
            print '\nYou are starting the ' + sversion
            print 'When the boot process is complete, use the following'
            print 'credentials to access it via ssh:\n'
            print '     ssh root@172.19.98.109'
            print '     password: mambo'
            opt = raw_input("\n     Would you like to start it now? [Y/n] ")
            if "N" in opt or "n" in opt:
                sys.exit(0)
            else:
                return True
        except (KeyboardInterrupt, SystemExit, RuntimeError):
            sys.exit(1)
Show to the user how to connect to the simulator
Show to the user how to connect to the simulator
Show to the user how to connect to the simulator
def show_connection_info(self, version):
        try:
            self.print_line()
            sversion = 'IBM POWER' + version[-1:] + ' Functional Simulator'
            print '\nYou are starting the ' + sversion
            print 'When the boot process is complete, use the following'
            print 'credentials to access it via ssh:\n'
            print '     ssh root@172.19.98.109'
            print '     password: mambo'
            opt = raw_input("\n     Would you like to start it now? [Y/n] ")
            if "N" in opt or "n" in opt:
                sys.exit(0)
            else:
                return True
        except (KeyboardInterrupt, SystemExit, RuntimeError):
            sys.exit(1)
def show_connection_info ( self , version ) : try : self . print_line ( ) sversion = 'IBM POWER' + version [ - 1 : ] + ' Functional Simulator' print '\nYou are starting the ' + sversion print 'When the boot process is complete, use the following' print 'credentials to access it via ssh:\n' print '     ssh root@172.19.98.109' print '     password: mambo' opt = raw_input ( "\n     Would you like to start it now? [Y/n] " ) if "N" in opt or "n" in opt : sys . exit ( 0 ) else : return True except ( KeyboardInterrupt , SystemExit , RuntimeError ) : sys . exit ( 1 )
Show to the user how to connect to the simulator
Show to the user how to connect to the simulator
'''Show to the user how to connect to the simulator'''
self
version