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:
parent
ba9d4c909b
commit
0826ee1c68
@ -96,7 +96,7 @@ pages at boot time, run:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. 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
|
$ grep GRUB_CMDLINE_LINUX /etc/default/grub
|
||||||
GRUB_CMDLINE_LINUX="..."
|
GRUB_CMDLINE_LINUX="..."
|
||||||
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX hugepagesz=2M hugepages=2048 transparent_hugepage=never"
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX hugepagesz=2M hugepages=2048 transparent_hugepage=never"
|
||||||
|
Loading…
Reference in New Issue
Block a user