Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dracut/95nbft: Define respawn attempts on a connection failure
In case the `nvme connect-all --nbft` call fails, respawn the service after 10 seconds and try again. Depends on nvme-cli to return non-zero status in case of any of the SSNS records that are not marked as 'unavailable' fails to connect. The respawn cycle is broken by stopping the unit once rootfs is mounted and system switches the root. Signed-off-by: Tomas Bzatek <[email protected]>
- Loading branch information