Add sudo to the osbuild-mock dnf check

This is a quick fix to add `sudo` and avoid RHSM errors.
This commit is contained in:
Major Hayden 2020-06-08 08:19:15 -05:00 committed by GitHub
parent e20919b494
commit 540ca29c0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ source /etc/os-release
# Set up a dnf repository for the RPMs we built via mock.
sudo cp osbuild-mock.repo /etc/yum.repos.d/osbuild-mock.repo
dnf repository-packages osbuild-mock list
sudo dnf repository-packages osbuild-mock list
# Create temporary directories for Ansible.
sudo mkdir -vp /opt/ansible_{local,remote}