Allow host not having an execution interface
Fixes #34452 - Allow hosts to have no execution interface
Previously we required each host to have exactly one execution interface. There
was a mechanism in place which would ensure host had at least one execution
interface by marking the primary interface as execution if the host had none.
However this wasn't 100% reliable.
This loosens the requirement from exactly one to 0 or 1 and removes the
mechanism enforcing host has at least 1 execution interface.
Fixes #34452 - Move the execution flag
This only works when the interface is being updated through the host. It does
nothing if interface is being updated directly through
When multiple interfaces are being marked as execution at the same time, the
first one to be processed "wins", although the ordering in which they're
processed is undefined.
#5 Updated by Adam Ruzicka 4 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_plugin|759070e4851e5432c829ec6c80183edd2316275b.