diff options
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/vpp_device/tasks')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml index d07f328424..c3fbfeb1c6 100644 --- a/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml @@ -25,6 +25,6 @@ path: '/etc/default/grub' state: 'present' regexp: '^GRUB_CMDLINE_LINUX=' - line: 'GRUB_CMDLINE_LINUX="hugepagesz=2M hugepages=65536"' + line: 'GRUB_CMDLINE_LINUX="hugepagesz=2M hugepages={{ grub.nr_hugepages }}"' notify: ['Update GRUB'] - + tags: set-grub |