File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 16
16
REPODIR=/etc/osbuild-composer/repositories
17
17
sudo mkdir -p $REPODIR
18
18
# Copy rhel nightly overrides
19
- cp /home/admin/files/rhel-95.json /etc/osbuild-composer/repositories/rhel-95.json
20
- cp /home/admin/files/rhel-10.json /etc/osbuild-composer/repositories/rhel-10.json
21
- cp /home/admin/files/rhel-10.json /etc/osbuild-composer/repositories/rhel-10.0.json
19
+ if [ -d /home/admin/files ]; then
20
+ cp /home/admin/files/rhel-95.json /etc/osbuild-composer/repositories/rhel-95.json
21
+ cp /home/admin/files/rhel-10.json /etc/osbuild-composer/repositories/rhel-10.0.json
22
+ else
23
+ cp test/files/rhel-95.json /etc/osbuild-composer/repositories/rhel-95.json
24
+ cp test/files/rhel-10.json /etc/osbuild-composer/repositories/rhel-10.json
25
+ fi
22
26
ln -s /etc/osbuild-composer/repositories/rhel-95.json /etc/osbuild-composer/repositories/rhel-95-beta.json
23
27
ln -s /etc/osbuild-composer/repositories/rhel-95.json /etc/osbuild-composer/repositories/rhel-95-ga.json
24
28
You can’t perform that action at this time.
0 commit comments