aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/disk-image-builder/nested/image-patches/07-isolate-cpu
blob: 401966deacd90be07922130b2e80ea58c1c55324 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

patch boot/grub/menu.lst <<"_EOF"
17c17
< 	kernel /boot/bzImage rw root=/dev/sda1 ipv6.disable=1 console=ttyS0,115200n8
---
> 	kernel /boot/bzImage rw root=/dev/sda1 ipv6.disable=1 console=ttyS0,115200n8 isolcpus=1,2,3,4 nohz_full=1,2,3,4 rcu_nocbs=1,2,3,4 intel_pstate=disable
_EOF