summaryrefslogtreecommitdiffstats
path: root/ansible/roles/enable_hugepages_on_boot/tasks/manual_modify_grub.yml
AgeCommit message (Collapse)AuthorFilesLines
2017-12-22Bugfix in role enable_hugepages_on_bootJan Malanik1-8/+9
Make role idempotent. Current regex doesn't match for: linux /boot/vmlinuz-4.10.0-30-generic root=/dev/nvme0n1p1 ro vga=788 text Change-Id: If5eb20fce4ddc35bb109c00eb7565853b3763950 Signed-off-by: Jan Malanik <janx.malanik@intel.com> Signed-off-by: Malanik Jan <janx.malanik@intel.com>
2017-09-20ansible: add grub.cfg hugepages regexp replaceRoss Brattain1-0/+35
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>