Skip to content

Commit

Permalink
test: let vm.install work both locally and with tmt
Browse files Browse the repository at this point in the history
  • Loading branch information
croissanne committed Aug 20, 2024
1 parent 0e6ade0 commit 753ba9e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/vm.install
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ fi
REPODIR=/etc/osbuild-composer/repositories
sudo mkdir -p $REPODIR
# Copy rhel nightly overrides
cp /home/admin/files/rhel-95.json /etc/osbuild-composer/repositories/rhel-95.json
cp /home/admin/files/rhel-10.json /etc/osbuild-composer/repositories/rhel-10.json
cp /home/admin/files/rhel-10.json /etc/osbuild-composer/repositories/rhel-10.0.json
if [ -d /home/admin/files ]; then
cp /home/admin/files/rhel-95.json /etc/osbuild-composer/repositories/rhel-95.json
cp /home/admin/files/rhel-10.json /etc/osbuild-composer/repositories/rhel-10.0.json
else
cp test/files/rhel-95.json /etc/osbuild-composer/repositories/rhel-95.json
cp test/files/rhel-10.json /etc/osbuild-composer/repositories/rhel-10.json
fi
ln -s /etc/osbuild-composer/repositories/rhel-95.json /etc/osbuild-composer/repositories/rhel-95-beta.json
ln -s /etc/osbuild-composer/repositories/rhel-95.json /etc/osbuild-composer/repositories/rhel-95-ga.json

Expand Down

0 comments on commit 753ba9e

Please sign in to comment.