Advertisement
Guest User

Untitled

a guest
Aug 9th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. from new_nbd_client import new_nbd_client
  2.  
  3. class xapi_nbd_client(new_nbd_client):
  4.  
  5. def __init__(self, hostname, vdi, username="root", password="xenroot"):
  6. export_name = "nbd://" + username + ":" + password + "@" + hostname + "/" + vdi
  7. new_nbd_client.__init__(self, hostname, export_name)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement