Skip to content

Commit

Permalink
us.images.linuxcontainers.org => images.linuxcontainers.org
Browse files Browse the repository at this point in the history
us.images.linuxcontainers.org is no more.
  • Loading branch information
green-green-avk committed Nov 5, 2021
1 parent 4dd0999 commit 6ccd91a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions install-linuxcontainers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ esac
to_lco_link() {
local R
local P
R="$( { "$TERMSH" cat 'https://us.images.linuxcontainers.org/meta/1.0/index-user' || exit_with 'Cannot download index from linuxcontainers.org' ;} \
R="$( { "$TERMSH" cat 'https://images.linuxcontainers.org/meta/1.0/index-user' || exit_with 'Cannot download index from linuxcontainers.org' ;} \
| { find_prefix "$DISTRO;$RELEASE;$(to_lco_arch "$1");default;" || exit_with 'Cannot find specified rootfs' ;} )" || exit 1
P="${R##*;}"
echo "https://us.images.linuxcontainers.org/$P/rootfs.tar.xz"
echo "https://images.linuxcontainers.org/$P/rootfs.tar.xz"
}

echo
Expand Down
4 changes: 2 additions & 2 deletions repo-linuxcontainers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ chooser() {
}

ARGS=($("$TERMSH" cat \
https://us.images.linuxcontainers.org/meta/1.0/index-user \
https://images.linuxcontainers.org/meta/1.0/index-user \
| chooser))

if [ -z "$ARGS" ] ; then exit 0 ; fi

export ROOTFS_URL="https://us.images.linuxcontainers.org/${ARGS[2]}/rootfs.tar.xz"
export ROOTFS_URL="https://images.linuxcontainers.org/${ARGS[2]}/rootfs.tar.xz"

S='install-linuxcontainers.sh'
"$TERMSH" copy -f -fu \
Expand Down

0 comments on commit 6ccd91a

Please sign in to comment.