davlefou

Untitled

Jan 10th, 2026
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. # This configures an HVM rather than PV guest
  2. builder = "hvm"
  3.  
  4. # Guest name
  5. name = "Alma-Lnux-GitLab-10"
  6.  
  7. # Initial memory allocation (MB)
  8. memory = 10240
  9. type = "hvm" # HVM pour virtualisation complète
  10.  
  11. # Number of VCPUS
  12. vcpus = 8
  13. maxvcpus = 8
  14.  
  15. # Configuration CPU - Choisir le type de processeur
  16. # Option 1: Exposer le CPU hôte (performances maximales)
  17. cpuid = "host"
  18. cpu_policy = "default"
  19.  
  20. # Network devices
  21. vif = [ 'bridge=bridge0, mac=00:16:3E:76:22:40', 'mac=00:16:3e:02:22:40,bridge=bridge1', 'bridge=bridge0, mac=00:16:3E:76:22:41',]
  22. #vif = [ 'bridge=bridge0, mac=00:16:3E:74:34:32' , 'ip=192.168.120.2/32' ]
  23. #vif = [ 'ip=192.168.120.8,mac=00:16:3E:74:34:32, script=/home/david.sabrine/xen-script/vif-test' ]
  24. #vif = [ 'mac=00:16:3E:74:34:34, script=/vm/scripts/vif-test' ]
  25. #vif = [ 'bridge=bridge0, mac=00:16:3E:74:34:32' , 'script=vif-route,ip=192.168.120.2/32,gatewaydev=lo1' ]
  26. #vif = [ 'ip=192.168.120.2,route=lo1,mtu=1400' ]
  27. #vif = [ 'bridge=lo2' ]
  28.  
  29.  
  30. # Disk Devices
  31. disk = [
  32. #'/dev/zvol/VM-ZFS/Rocky-9.2-x86_64,raw,hda,rw',
  33. 'phy:/dev/zvol/ZVM/Alma-linux-GitLab,xvda,w',
  34. '/iso/AlmaLinux-10.1-x86_64-minimal.iso,raw,hdc:cdrom,r'
  35. ]
  36.  
  37. boot = "dc"
  38.  
  39. vnc = 1
  40. vnclisten = "0.0.0.0"
  41. #vncpasswd = "Mayssa2022"
  42. #vncdisplay = 0
  43. #serial="pty"
  44.  
  45.  
  46. # Émulation de périphériques
  47. #device_model_version = 'qemu-xen'
  48. #sdl = 0
  49.  
  50.  
  51. on_poweroff = 'destroy'
  52. on_reboot = 'restart'
  53. on_crash = 'restart'
Advertisement
Add Comment
Please, Sign In to add comment