diff --git a/noderedeploy.sh b/noderedeploy.sh index b36b1a9..02c3e3e 100644 --- a/noderedeploy.sh +++ b/noderedeploy.sh @@ -33,7 +33,7 @@ if [ ! -d "/usr/local/goedge" ]; then # Create or overwrite api_node.yaml from the template if [ -d "./configs" ]; then - cp "./configs/api_node.template.yaml" "$edge_node_path/configs/api_node.yaml" + cp "./configs/api_node.template.yaml" "./configs/api_node.yaml" else echo "Configuration directory does not exist. Exiting." exit 1