Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install_rpm_containerd: add workaround for dnf5 addrepo bug
The addrepo command has a bug that causes it to fail if the `.repo` file contains empty lines, causing it to fail; dnf config-manager addrepo --from-repofile="https://download.docker.com/linux/fedora/docker-ce.repo" Error in added repository configuration file. Cannot set repository option "docker#1= ": Option "docker#1" not found Use a temporary file and strip empty lines as a workaround until the bug is fixed. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information