From: Vanessa Rene Valderrama Date: Fri, 24 Jan 2020 15:56:30 +0000 (-0600) Subject: Modify Ubuntu 16.04 to enable hugepages X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=d3537760ace67a81f33833f8b4a2224fc8a36842;p=ci-management.git Modify Ubuntu 16.04 to enable hugepages This change is to modify Ubuntu 16.04 images to enable hugepages Change-Id: Id5f0494417c1cce25c26032d2f6dfa4526c3f5bf Signed-off-by: Vanessa Rene Valderrama --- diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml index 31ce7f83a..bcdf512eb 100644 --- a/packer/provision/local-builder.yaml +++ b/packer/provision/local-builder.yaml @@ -63,6 +63,15 @@ when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '16.04' become: true + - name: 'Enable hugepages' + sysctl: + name: vm.nr_hugepages + value: '128' + reload: no + # yamllint disable-line rule:line-length + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '16.04' + become: true + - name: 'Install FD.io Required 18.04 Packages' apt: name: