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:
parent
e20919b494
commit
540ca29c0a
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue