nmstate/.dockerignore
Gris Ge 6f95011e23 Add a hidden persist-nic-names command
xref https://issues.redhat.com//browse/OCPBUGS-10787

In RHEL8 to RHEL9 upgrades, some NIC names may change; we saw
this in the wild with `mlx5` based interfaces at least.
RHEL Leapp has logic to handle this, but adapting it to work
with rpm-ostree/coreos systems would be a heavy lift.

This logic is designed to be executed from a privileged container
*before* the host upgrades, which fits in well with current
OCP logic in the Machine Config Operator.

Specifically, https://github.com/openshift/machine-config-operator/pull/3650
will run this command.

Co-authored-by: Gris Ge <fge@redhat.com>
Signed-off-by: Colin Walters <walters@verbum.org>
2023-04-11 11:16:22 +08:00

2 lines
12 B
Plaintext