Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit ea2dd75

Browse files
committed
update hypercontainer S3 url
We've seperated it from hyper cloud rpms. Signed-off-by: Peng Tao <bergwolf@gmail.com>
1 parent 94f4df6 commit ea2dd75

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

hyper-bootstrap.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ CURRENT_USER="$(id -un 2>/dev/null || true)"
1414
BOOTSTRAP_DIR="/tmp/hyper-bootstrap-${CURRENT_USER}"
1515
BASH_C="bash -c"
1616
########## Parameter ##########
17-
S3_URL="http://hyper-install.s3.amazonaws.com"
17+
S3_URL="http://hypercontainer-install.s3.amazonaws.com"
1818
PKG_FILE="hyper-latest.tgz"
1919
UNTAR_DIR="hyper-pkg"
2020
SUPPORT_EMAIL="support@hyper.sh"
@@ -247,11 +247,11 @@ check_deps_initsystem() {
247247
fetch_hyper_package() {
248248
show_message info "Fetch checksum and package...\n"
249249
set +e
250-
${BASH_C} "ping -c 3 -W 2 hyper-install.s3.amazonaws.com >/dev/null 2>&1"
250+
${BASH_C} "ping -c 3 -W 2 hypercontainer-install.s3.amazonaws.com >/dev/null 2>&1"
251251
if [ $? -ne 0 ];then
252-
S3_URL="http://mirror-hyper-install.s3.amazonaws.com"
252+
S3_URL="http://mirror-hypercontainer-install.s3.amazonaws.com"
253253
else
254-
S3_URL="http://hyper-install.s3.amazonaws.com"
254+
S3_URL="http://hypercontainer-install.s3.amazonaws.com"
255255
fi
256256
local SRC_URL="${S3_URL}/${PKG_FILE}"
257257
local TGT_FILE="${BOOTSTRAP_DIR}/${PKG_FILE}"
@@ -409,11 +409,11 @@ handle_hyper_rpm_rename(){
409409
install_from_rpm(){
410410
show_message info "Fetch rpm package for $1...\n"
411411
set +e
412-
${BASH_C} "ping -c 3 -W 2 hyper-install.s3.amazonaws.com >/dev/null 2>&1"
412+
${BASH_C} "ping -c 3 -W 2 hypercontainer-install.s3.amazonaws.com >/dev/null 2>&1"
413413
if [ $? -ne 0 ];then
414-
S3_URL="http://mirror-hyper-install.s3.amazonaws.com"
414+
S3_URL="http://mirror-hypercontainer-install.s3.amazonaws.com"
415415
else
416-
S3_URL="http://hyper-install.s3.amazonaws.com"
416+
S3_URL="http://hypercontainer-install.s3.amazonaws.com"
417417
fi
418418
case "$1" in
419419
centos7)

0 commit comments

Comments
 (0)