Code: Select all
import virtualbox
vbmanager = virtualbox.Manager()
vbox = vbmanager.get_virtualbox()
session = vbmanager.get_session()
host = vbox.host
hoi,progress = host.create_host_only_network_interface()
progress.wait_for_completion(32000)
print(hoi.name) # generates AttributeError, no "name"
the API not have any of its attributes?
Actually, it does work on my newest PC, but, not on two older ones.