mirror of
https://github.com/systemd/systemd.git
synced 2024-12-03 23:33:38 +08:00
Revert "semaphore: temporarily explicitly use the US image mirror"
This reverts commit 9ac47d9261
.
This commit is contained in:
parent
6671ff5bad
commit
a2e926a135
@ -20,7 +20,7 @@ create_container() {
|
||||
# GPG key from keyserver", so retry a few times with different keyservers.
|
||||
for keyserver in "" "keys.gnupg.net" "keys.openpgp.org" "keyserver.ubuntu.com"; do
|
||||
for retry in {1..5}; do
|
||||
sudo lxc-create -n $CONTAINER -t download -- -d $DISTRO -r $RELEASE -a $ARCH --server us.images.linuxcontainers.org ${keyserver:+--keyserver "$keyserver"} && break 2
|
||||
sudo lxc-create -n $CONTAINER -t download -- -d $DISTRO -r $RELEASE -a $ARCH ${keyserver:+--keyserver "$keyserver"} && break 2
|
||||
sleep $((retry*retry))
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user