kayobe/releasenotes/notes/dib-consistent-network-device-naming-e0edec5d5fdf83e2.yaml
Pierre Riteau 79be93baf5 Enable consistent network device naming
CentOS cloud images come with net.ifnames=0 on the kernel command line,
which disables consistent network device naming. This does not provide a
good experience on bare metal because NIC ordering can vary. This is
specific to cloud images: an ISO installation would use consistent
network device naming.

We now set net.ifnames=1 in the DIB default environment to use
consistent network device naming. The parameters `nofb nomodeset
gfxpayload=text` are also set to preserve defaults from DIB.

To restore the existing behaviour, set DIB_BOOTLOADER_DEFAULT_CMDLINE to
`nofb nomodeset gfxpayload=text net.ifnames=0` in the
kolla_bifrost_dib_env_vars_extra dictionary.

Change-Id: I20465eab4e0aec6620578a92d3bdbddcec0954df
2021-10-05 11:00:49 +02:00

12 lines
584 B
YAML

---
upgrade:
- |
Consistent network device naming is now enabled by default in overcloud
root disk images, by setting ``net.ifnames=1`` on the kernel command line.
This is performed using the ``DIB_BOOTLOADER_DEFAULT_CMDLINE``
diskimage-builder environment variable, which is set to ``nofb nomodeset
gfxpayload=text net.ifnames=1`` to preserve diskimage-builder defaults. To
restore existing behaviour, set ``DIB_BOOTLOADER_DEFAULT_CMDLINE`` to
``nofb nomodeset gfxpayload=text net.ifnames=0`` in the
``kolla_bifrost_dib_env_vars_extra`` dictionary.