Guest User

Untitled

a guest
Sep 24th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. import os, re
  2. arch = os.uname()[4]
  3. kernel = "/usr/lib/xen/boot/hvmloader"
  4. builder='hvm'
  5. memory = 1024
  6.  
  7. # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
  8. shadow_memory = 8
  9. name = "win7"
  10. vif = [ 'type=ioemu, bridge=xenbr0' ]
  11.  
  12. pi = 1
  13. apic = 1
  14. disk = [ 'file:/media/ubuntu/vserver/xenwin2008.img,hda,w', 'file:/media/ubuntu/vserver/windows7.iso,hdc:cdrom,r' ]
  15.  
  16. device_model = '/usr/lib/xen/bin/qemu-dm'
  17.  
  18. #-----------------------------------------------------------------------------
  19. # boot on floppy (a), hard disk (c) or CD-ROM (d)
  20. # default: hard disk, cd-rom, floppy
  21. boot="dc"
  22.  
  23. #sdl=0
  24. #vnc=1
  25. #vncconsole=1
  26. #vncpasswd=''
  27. #vnclisten='0.0.0.0'
  28.  
  29. serial='pty'
  30. usbdevice='tablet'
Add Comment
Please, Sign In to add comment