Explorar el Código

Improve Xen Hypervisiors kernel options

Emmanuel Bouthenot hace 9 años
padre
commit
3a1a0660c1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      roles/hypervisor/tasks/xen.yml

+ 1 - 1
roles/hypervisor/tasks/xen.yml

@@ -15,7 +15,7 @@
     dest: '/etc/default/grub'
     regexp: '^GRUB_CMDLINE_XEN_DEFAULT='
     insertafter: '^GRUB_CMDLINE_LINUX='
-    line: 'GRUB_CMDLINE_XEN_DEFAULT="dom0_mem={{ xendom0_mem  }}M,max:{{ xendom0_mem }}M"'
+    line: 'GRUB_CMDLINE_XEN_DEFAULT="dom0_mem={{ xendom0_mem  }}M,max:{{ xendom0_mem }}M dom0_max_vcpus=1 dom0_vcpus_pin"'
   when: with_xen
 
 - name: 'Set Xen hypervisor to boot first'