Skip to content

Instantly share code, notes, and snippets.

View July-NetEase's full-sized avatar

July July-NetEase

  • Hangzhou,China
View GitHub Profile
"""pyvbox: setup appliance description and import_machines.
"""
import virtualbox
vbox = virtualbox.VirtualBox()
# Create new IAppliance and read the exported machine
# called 'ubuntu'.
appliance = vbox.create_appliance()
appliance.read("~/Documents/ubuntu.ova")