tests: restart composer after adding optional reporsitory
b/c live-iso needs grub2-efi-*-cdboot from Optional Related: rhbz#1770193
This commit is contained in:
parent
64a593a376
commit
0d344e6cae
@ -19,7 +19,8 @@ rlJournalStart
|
|||||||
OPTIONAL_REPO="/etc/yum.repos.d/rhel7-rel-eng-optional.repo"
|
OPTIONAL_REPO="/etc/yum.repos.d/rhel7-rel-eng-optional.repo"
|
||||||
|
|
||||||
if [ ! -f "$OPTIONAL_REPO" ]; then
|
if [ ! -f "$OPTIONAL_REPO" ]; then
|
||||||
cat > $OPTIONAL_REPO << __EOF__
|
composer_stop
|
||||||
|
cat > $OPTIONAL_REPO << __EOF__
|
||||||
[rhel7-rel-eng-optional]
|
[rhel7-rel-eng-optional]
|
||||||
gpgcheck=0
|
gpgcheck=0
|
||||||
enabled=1
|
enabled=1
|
||||||
@ -27,8 +28,8 @@ skip_if_unavailable=0
|
|||||||
name=rhel7-rel-eng-optional
|
name=rhel7-rel-eng-optional
|
||||||
baseurl=http://download-node-02.eng.bos.redhat.com/rhel-7/rel-eng/latest-RHEL-7/compose/Server-optional/\$basearch/os/
|
baseurl=http://download-node-02.eng.bos.redhat.com/rhel-7/rel-eng/latest-RHEL-7/compose/Server-optional/\$basearch/os/
|
||||||
__EOF__
|
__EOF__
|
||||||
|
composer_start
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest "compose start"
|
rlPhaseStartTest "compose start"
|
||||||
|
Loading…
Reference in New Issue
Block a user