ansible: add grub.cfg hugepages regexp replace 37/41137/3
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>
Wed, 20 Sep 2017 22:47:05 +0000 (22:47 +0000)
commit3c777566882949ee6ef1b12905abdb3cc13a68dd
tree55eb860a01bfe2bd536891b8e3761453f0e500ea
parent5525e551cfecc9ac653778f3f498502b6922f2a8
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]