Browse Source

Improve Xen Hypervisiors kernel options

Emmanuel Bouthenot 9 năm trước cách đây
mục cha
commit
3a1a0660c1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'