Fix huge-page doc

This change updates the echo command as per description [1],
to append huge-page specific paramters instead of overwriting.

[1] https://docs.openstack.org/nova/zed/admin/huge-pages.html

Closes-Bug: #2002317

Change-Id: Ibd8b555c4d6a70cd221b12821d6e9d88cf132a4a
This commit is contained in:
Rajesh Tailor 2023-01-10 17:49:55 +05:30
parent ba9d4c909b
commit 0826ee1c68

View File

@ -96,7 +96,7 @@ pages at boot time, run:
.. code-block:: console
# echo 'GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX hugepagesz=2M hugepages=2048 transparent_hugepage=never"' > /etc/default/grub
# echo 'GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX hugepagesz=2M hugepages=2048 transparent_hugepage=never"' >> /etc/default/grub
$ grep GRUB_CMDLINE_LINUX /etc/default/grub
GRUB_CMDLINE_LINUX="..."
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX hugepagesz=2M hugepages=2048 transparent_hugepage=never"