Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This configures an HVM rather than PV guest
- builder = "hvm"
- # Guest name
- name = "Alma-Lnux-GitLab-10"
- # Initial memory allocation (MB)
- memory = 10240
- type = "hvm" # HVM pour virtualisation complète
- # Number of VCPUS
- vcpus = 8
- maxvcpus = 8
- # Configuration CPU - Choisir le type de processeur
- # Option 1: Exposer le CPU hôte (performances maximales)
- cpuid = "host"
- cpu_policy = "default"
- # Network devices
- 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',]
- #vif = [ 'bridge=bridge0, mac=00:16:3E:74:34:32' , 'ip=192.168.120.2/32' ]
- #vif = [ 'ip=192.168.120.8,mac=00:16:3E:74:34:32, script=/home/david.sabrine/xen-script/vif-test' ]
- #vif = [ 'mac=00:16:3E:74:34:34, script=/vm/scripts/vif-test' ]
- #vif = [ 'bridge=bridge0, mac=00:16:3E:74:34:32' , 'script=vif-route,ip=192.168.120.2/32,gatewaydev=lo1' ]
- #vif = [ 'ip=192.168.120.2,route=lo1,mtu=1400' ]
- #vif = [ 'bridge=lo2' ]
- # Disk Devices
- disk = [
- #'/dev/zvol/VM-ZFS/Rocky-9.2-x86_64,raw,hda,rw',
- 'phy:/dev/zvol/ZVM/Alma-linux-GitLab,xvda,w',
- '/iso/AlmaLinux-10.1-x86_64-minimal.iso,raw,hdc:cdrom,r'
- ]
- boot = "dc"
- vnc = 1
- vnclisten = "0.0.0.0"
- #vncpasswd = "Mayssa2022"
- #vncdisplay = 0
- #serial="pty"
- # Émulation de périphériques
- #device_model_version = 'qemu-xen'
- #sdl = 0
- on_poweroff = 'destroy'
- on_reboot = 'restart'
- on_crash = 'restart'
Advertisement
Add Comment
Please, Sign In to add comment