fix(rpm-ostree): switch wget to curl for coreos compatibility (#224)
use curl instead of wget in rpm-ostree module so it can be used with ucore/coreos base images
This commit is contained in:
parent
c3084ad86f
commit
bc0cfd7381
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ if [[ ${#REPOS[@]} -gt 0 ]]; then
|
|||
echo "Adding repositories"
|
||||
for REPO in "${REPOS[@]}"; do
|
||||
REPO="${REPO//%OS_VERSION%/${OS_VERSION}}"
|
||||
wget "${REPO//[$'\t\r\n ']}" -P "/etc/yum.repos.d/"
|
||||
curl --output-dir "/etc/yum.repos.d/" -O "${REPO//[$'\t\r\n ']}"
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue