mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 22:13:08 +00:00
Try to fix quoting in printf
This commit is contained in:
parent
ce07c418d0
commit
442c143144
@ -328,7 +328,8 @@ sub _repo_setup_compose {
|
|||||||
# add a disabled non-modular release repo; we have to use this
|
# add a disabled non-modular release repo; we have to use this
|
||||||
# to install some things we need for testing which aren't in
|
# to install some things we need for testing which aren't in
|
||||||
# Modular Server composes
|
# Modular Server composes
|
||||||
assert_script_run 'printf "[fedora]\nname=Fedora $releasever - $basearch\nmetalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch\nenabled=0\nmetadata_expire=7d\nrepo_gpgcheck=0\ntype=rpm\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch\nskip_if_unavailable=True" > /etc/yum.repos.d/fedora.repo';
|
assert_script_run 'printf \'[fedora]\nname=Fedora $releasever - $basearch\nmetalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch\nenabled=0\nmetadata_expire=7d\nrepo_gpgcheck=0\ntype=rpm\ngpgcheck=1\ngpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch\nskip_if_unavailable=True\' > /etc/yum.repos.d/fedora.repo';
|
||||||
|
script_run 'cat /etc/yum.repos.d/fedora.repo';
|
||||||
# FIXME use the compose repo, as per below - easier if the repo
|
# FIXME use the compose repo, as per below - easier if the repo
|
||||||
# files had commented-out baseurl lines
|
# files had commented-out baseurl lines
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user