relocate repos

This commit is contained in:
z4yx 2020-04-07 12:02:05 +08:00
parent 7bb6a9201e
commit 91b4b1fb93

View File

@ -9,8 +9,8 @@ yum_sync="${_here}/yum-sync.py"
BASE_PATH="${TUNASYNC_WORKING_DIR}" BASE_PATH="${TUNASYNC_WORKING_DIR}"
UPSTREAM=${TUNASYNC_UPSTREAM_URL:-"https://packages.chef.io/repos"} UPSTREAM=${TUNASYNC_UPSTREAM_URL:-"https://packages.chef.io/repos"}
YUM_PATH="${BASE_PATH}/yum" YUM_PATH="${BASE_PATH}/yum/stable"
APT_PATH="${BASE_PATH}/apt" APT_PATH="${BASE_PATH}/apt/stable"
"$yum_sync" "${UPSTREAM}/yum/stable/el/@{os_ver}/@{arch}" 6-8 chef x86_64 "stable-el@{os_ver}-@{arch}" "$YUM_PATH" "$yum_sync" "${UPSTREAM}/yum/stable/el/@{os_ver}/@{arch}" 6-8 chef x86_64 "stable-el@{os_ver}-@{arch}" "$YUM_PATH"
echo "YUM finished" echo "YUM finished"