diff --git a/playbooks/roles/vhosts/common/files/install-packages.sh b/playbooks/roles/vhosts/common/files/install-packages.sh index 53c65bc..cd151de 100644 --- a/playbooks/roles/vhosts/common/files/install-packages.sh +++ b/playbooks/roles/vhosts/common/files/install-packages.sh @@ -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 diff --git a/playbooks/roles/vhosts/gpu-k8s/files/get_labring_registry.sh b/playbooks/roles/vhosts/gpu-k8s/files/get_labring_registry.sh index e927bc0..e3a8b8f 100755 --- a/playbooks/roles/vhosts/gpu-k8s/files/get_labring_registry.sh +++ b/playbooks/roles/vhosts/gpu-k8s/files/get_labring_registry.sh @@ -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