VirtualBox

Changeset 54434 in vbox


Ignore:
Timestamp:
Feb 24, 2015 10:50:55 AM (10 years ago)
Author:
vboxsync
Message:

vboxshell.py: switch to new IVirtualBox.createMedium API method

File:
1 edited

Legend:

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

    r53624 r54434  
    2121__copyright__ = \
    2222"""
    23 Copyright (C) 2009-2013 Oracle Corporation
     23Copyright (C) 2009-2015 Oracle Corporation
    2424
    2525This file is part of VirtualBox Open Source Edition (OSE), as
     
    22092209        fmt = "vdi"
    22102210
    2211     hdd = ctx['vb'].createHardDisk(format, loc)
     2211    hdd = ctx['vb'].createMedium(format, loc, ctx['global'].constants.AccessMode_ReadWrite, ctx['global'].constants.DeviceType_HardDisk)
    22122212    progress = hdd.createBaseStorage(size, (ctx['global'].constants.MediumVariant_Standard, ))
    22132213    if progressBar(ctx,progress) and hdd.id:
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