nasp.ob.ac.cn -> nasp.fit

This commit is contained in:
2024-04-16 00:36:48 +08:00
parent 8f8e3eda4d
commit 8ecf30dfc6
33 changed files with 842 additions and 30 deletions

View File

@@ -75,10 +75,10 @@ insert_if_not_exist()
grep -qxF -- "$line" "$filename" || echo "$line" >> "$filename"
}
cd /opt
git clone https://git.nasp.ob.ac.cn/NASP/configurations
git clone https://git.nasp.fit/NASP/configurations
insert_if_not_exist "/etc/crontab" "59 22 * * * root /opt/configurations/testbed/scripts/schedule-poweroff.sh"
cd /opt
git clone https://git.nasp.ob.ac.cn/NASP/registry
git clone https://git.nasp.fit/NASP/registry
cd registry/scripts
./testbed_deploy.sh

View File

@@ -53,9 +53,9 @@ if [[ "$ret" == "1" ]]; then
--device=/dev/infiniband/umad0 --device=/dev/infiniband/uverbs0"
fi
read -p "Image name (default: git.nasp.ob.ac.cn/nasp/nasp-ubuntu): "
read -p "Image name (default: git.nasp.fit/nasp/nasp-ubuntu): "
if [[ -z "$REPLY" ]]; then
image_name="git.nasp.ob.ac.cn/nasp/nasp-ubuntu"
image_name="git.nasp.fit/nasp/nasp-ubuntu"
else
image_name="$REPLY"
fi