- Timestamp:
- Nov 11, 2009 3:12:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r24581 r24586 472 472 def listCmd(ctx, args): 473 473 for m in getMachines(ctx, True): 474 print "Machine '%s' [%s], state=%s" %(m.name,m.id,m.sessionState) 474 if m.teleporterEnabled: 475 tele = "[T] " 476 else: 477 tele = " " 478 print "%sMachine '%s' [%s], state=%s" %(tele,m.name,m.id,m.sessionState) 475 479 return 0 476 480 … … 515 519 print " Machine status [n/a]: %d" % (mach.sessionState) 516 520 print 521 if mach.teleporterEnabled: 522 print " Teleport target on port %d (%s)" %(mach.teleporterPort, mach.teleporterPassword) 523 print 517 524 bios = mach.BIOSSettings 518 525 print " ACPI [BIOSSettings.ACPIEnabled]: %s" %(asState(bios.ACPIEnabled)) … … 698 705 else: 699 706 passwd = "" 700 if not mach.teleporterEnabled or mach.teleporterPort != port :707 if not mach.teleporterEnabled or mach.teleporterPort != port or passwd: 701 708 session = ctx['global'].openMachineSession(mach.id) 702 709 mach1 = session.machine 703 710 mach1.teleporterEnabled = True 704 711 mach1.teleporterPort = port 712 mach1.teleporterPassword = passwd 705 713 mach1.saveSettings() 706 714 session.close()
Note:
See TracChangeset
for help on using the changeset viewer.