VirtualBox

Changeset 27713 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 25, 2010 3:26:57 PM (15 years ago)
Author:
vboxsync
Message:

VBoxShell: teleport timeout is an optional argument now

File:
1 edited

Legend:

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

    r27647 r27713  
    370370    else:
    371371        passwd = ""
     372   
     373    if len(args) > 2:
     374        maxDowntime  = int(args[2])
     375    else:
     376        maxDowntime = 250
    372377
    373378    port = int(port)
    374     maxDowntime = 250
    375379    print "Teleporting to %s:%d..." %(host,port)
    376380    progress = console.teleport(host, port, passwd, maxDowntime)
     
    12361240            'exportVm':['Export VM in OVF format: export Win /tmp/win.ovf', exportVMCmd, 0],
    12371241            'screenshot':['Take VM screenshot to a file: screenshot Win /tmp/win.png 1024 768', screenshotCmd, 0],
    1238             'teleport':['Teleport VM to another box (see openportal): teleport Win anotherhost:8000 <passwd>', teleportCmd, 0],
     1242            'teleport':['Teleport VM to another box (see openportal): teleport Win anotherhost:8000 <passwd> <maxDowntime>', teleportCmd, 0],
    12391243            'openportal':['Open portal for teleportation of VM from another box (see teleport): openportal Win 8000 <passwd>', openportalCmd, 0],
    12401244            'closeportal':['Close teleportation portal (see openportal,teleport): closeportal Win', closeportalCmd, 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