VirtualBox

Ignore:
Timestamp:
Aug 19, 2010 9:17:27 AM (14 years ago)
Author:
vboxsync
Message:

vboxshell: OSE, minor tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r31718 r31773  
    821821    print "  Pointing device [pointingHidType]: %s (%s)" %(asEnumElem(ctx,"PointingHidType", mach.pointingHidType), mach.pointingHidType)
    822822    print "  Last changed [n/a]: " + time.asctime(time.localtime(long(mach.lastStateChange)/1000))
    823     print "  VRDP server [VRDPServer.enabled]: %s" %(asState(mach.VRDPServer.enabled))
    824 
     823    # OSE has no VRDP
     824    try:
     825        print "  VRDP server [VRDPServer.enabled]: %s" %(asState(mach.VRDPServer.enabled))
     826    except:
     827        pass
    825828    print
    826829    print colCat(ctx,"  I/O subsystem info:")
     
    881884
    882885def startCmd(ctx, args):
     886    if (len(args) < 2:
     887        print "usage: start name <frontend>"
     888        return 0
    883889    mach = argsToMach(ctx,args)
    884890    if mach == None:
     
    27912797
    27922798commands = {'help':['Prints help information', helpCmd, 0],
    2793             'start':['Start virtual machine by name or uuid: start Linux', startCmd, 0],
     2799            'start':['Start virtual machine by name or uuid: start Linux vrdp', startCmd, 0],
    27942800            'createVm':['Create virtual machine: createVm macvm MacOS', createVmCmd, 0],
    27952801            'removeVm':['Remove virtual machine', removeVmCmd, 0],
     
    28212827            'shell':['Execute external shell command: shell "ls /etc/rc*"', shellCmd, 0],
    28222828            'exportVm':['Export VM in OVF format: exportVm Win /tmp/win.ovf', exportVMCmd, 0],
    2823             'screenshot':['Take VM screenshot to a file: screenshot Win /tmp/win.png 1024 768', screenshotCmd, 0],
     2829            'screenshot':['Take VM screenshot to a file: screenshot Win /tmp/win.png 1024 768 0', screenshotCmd, 0],
    28242830            'teleport':['Teleport VM to another box (see openportal): teleport Win anotherhost:8000 <passwd> <maxDowntime>', teleportCmd, 0],
    28252831            'typeGuest':['Type arbitrary text in guest: typeGuest Linux "^lls\\n&UP;&BKSP;ess /etc/hosts\\nq^c" 0.7', typeGuestCmd, 0],
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette