Allow to customize the undercloud's grub options
This is useful if you want to add things like net.ifnames=0 (to make sure your undercloud has eth* named nics) or mitigations=off for that extra performance. Tested by adding: undercloud_extra_grub_params: net.ifnames=0 mitigations=off And observing the following on the undercloud: (undercloud) [stack@undercloud ~]$ cat /proc/cmdline console=ttyS0 root=/dev/vda net.ifnames=0 mitigations=off Change-Id: Ie814765897699705a2826ed1a8c8d8f85d579028
This commit is contained in:
parent
06fc96bf96
commit
1e9167d949
|
@ -17,7 +17,7 @@
|
|||
{% if overcloud_as_undercloud|bool or undercloud_use_custom_boot_images|bool %}
|
||||
<kernel>{{ undercloud_custom_vmlinuz }}</kernel>
|
||||
<initrd>{{ undercloud_custom_initrd }}</initrd>
|
||||
<cmdline>console=ttyS0 root=/dev/vda</cmdline>
|
||||
<cmdline>console=ttyS0 root=/dev/vda {{ undercloud_extra_grub_params|default('') }}</cmdline>
|
||||
{% endif %}
|
||||
</os>
|
||||
<features>
|
||||
|
|
Loading…
Reference in New Issue