- fix(common): typo in add-apt-repository (universev -> universe -y)
- fix(gpu-k8s): fallback registry changed from ghcr.io/labring to labring
This commit is contained in:
parent
43e95c4b98
commit
f8982f93b5
@ -3,6 +3,6 @@
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor > /usr/share/keyrings/hashicorp-archive-keyring.gpg
|
||||
sudo echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" > /etc/apt/sources.list.d/hashicorp.list
|
||||
sudo add-apt-repository universe
|
||||
sudo add-apt-repository universev -y
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y vault auditd uidmap fuse-overlayfs
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Determine the appropriate LabRing container registry based on geolocation.
|
||||
# Defaults to the Chinese mainland registry.
|
||||
REGISTRY_CN="registry.cn-shanghai.aliyuncs.com/labring"
|
||||
REGISTRY_INT="ghcr.io/labring"
|
||||
REGISTRY_INT="labring"
|
||||
# Query external service for country code; fall back to CN on failure.
|
||||
COUNTRY=$(curl -fsSL https://ipapi.co/country/ 2>/dev/null || echo "")
|
||||
if [ "$COUNTRY" = "CN" ]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user