ansible: add grub.cfg hugepages regexp replace 41/44141/1
authorRoss Brattain <ross.b.brattain@intel.com>
Wed, 6 Sep 2017 01:37:30 +0000 (18:37 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Tue, 3 Oct 2017 18:00:07 +0000 (11:00 -0700)
commit865dd398b8bc0e37f795c754b7f28660eb853d09
tree548608e01c0c2d8208426499d03cfebaea7d3f66
parent1ae94f88212a29ae83c927effc2facefb8bee4bd
ansible: add grub.cfg hugepages regexp replace

when building the image in chroot we can't run
update-grub of grub-mkconfig because both commands
probe for root partitions, which doesn't work
in the chroot.

Instead we manually regexp replace the kernel boot
line in /boot/**/grub*.cfg

Change-Id: I31fac2a3db4d1d044f11357b1715119066509676
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
ansible/roles/enable_hugepages_on_boot/tasks/main.yml
ansible/roles/enable_hugepages_on_boot/tasks/manual_modify_grub.yml [new file with mode: 0644]