This commit is contained in:
iCodex
2024-07-30 14:30:12 +08:00
parent 6eb2410733
commit 9893df5bdd
13 changed files with 459 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env sh
ROOT_DIR='/usr/local/goedge'
. /build/set_hosts.sh
function pre_config() {
if [ ! -e ${ROOT_DIR}/edge-node/configs/api_cluster.yaml ]; then
@@ -13,8 +13,11 @@ EOF
fi
}
ROOT_DIR='/usr/local/goedge'
mkdir -p /opt/cache
chmod 777 /opt/cache
set_hosts
pre_config
${ROOT_DIR}/edge-node/bin/edge-node