diff options
author | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2020-01-24 09:56:30 -0600 |
---|---|---|
committer | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2020-01-24 10:13:31 -0600 |
commit | d3537760ace67a81f33833f8b4a2224fc8a36842 (patch) | |
tree | c05f6d8fc0b995c866c6d02c43a0ab0e1f94022a /packer/provision | |
parent | 7df817ddf32f74496f8885cdb9e17a29a98b9db1 (diff) |
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 <vvalderrama@linuxfoundation.org>
Diffstat (limited to 'packer/provision')
-rw-r--r-- | packer/provision/local-builder.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
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: |