Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from new_nbd_client import new_nbd_client
- class xapi_nbd_client(new_nbd_client):
- def __init__(self, hostname, vdi, username="root", password="xenroot"):
- export_name = "nbd://" + username + ":" + password + "@" + hostname + "/" + vdi
- new_nbd_client.__init__(self, hostname, export_name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement