summaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
authorVanessa Valderrama <vvalderrama@linuxfoundation.org>2021-11-04 13:50:58 -0500
committerVanessa Valderrama <vvalderrama@linuxfoundation.org>2021-11-04 13:56:43 -0500
commit4a444c7ef8175b24392a6eda3aa2c6344d0b5cb3 (patch)
tree1cb621ebb227e4968ef375d3e4d8596f8c3c768a /packer
parent756bb745e9d3e49badb53706bcb18b5061820066 (diff)
Chore: Enable HugePages for Ubuntu 20.04
Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org> Change-Id: I82d9b40c3877ca0cb76750c3d40bd04759bc51a6
Diffstat (limited to 'packer')
-rw-r--r--packer/provision/local-builder.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml
index 744f42aa..187cc64c 100644
--- a/packer/provision/local-builder.yaml
+++ b/packer/provision/local-builder.yaml
@@ -14,13 +14,11 @@
name: vm.nr_hugepages
value: '128'
reload: no
- # yamllint disable-line rule:line-length
- when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '16.04'
+ when: ansible_distribution == 'Ubuntu'
become: true
- name: 'Install PackageCloud'
command: 'gem install package_cloud'
- # yamllint disable-line rule:line-length
when: ansible_distribution == 'Ubuntu'
become: true