diff --git a/component-installer/component-installer.sh b/component-installer/component-installer.sh index 57ae6e3..26b5242 100644 --- a/component-installer/component-installer.sh +++ b/component-installer/component-installer.sh @@ -143,7 +143,7 @@ do echo "Instalando ogDhcp..." OGCORE_BRANCH=$(jq -r '.release' /opt/opengnsys/ogDhcp/installer/config.json) git_checkout_release "$OGDHCP_REPO" "$component_dir/repo" "$OGCORE_BRANCH" - cp $CONFIGS_DIR/$config_file $component_dir/repo/config_ogdhcp.json + cp $CONFIGS_DIR/$config_file $component_dir/repo/installer/config_ogdhcp.json cd $component_dir/repo/installer || exit chmod 755 ogdhcp_installer.sh ./ogdhcp_installer.sh @@ -154,7 +154,7 @@ do OGCORE_BRANCH=$(jq -r '.release' /opt/opengnsys/ogBoot/installer/config.json) echo "Instalando ogBoot..." git_checkout_release "$OGBOOT_REPO" "$component_dir/repo" "$OGCORE_BRANCH" - cp $CONFIGS_DIR/$config_file $component_dir/repo/config.json + cp $CONFIGS_DIR/$config_file $component_dir/repo/installer/config.json apt install -y python3 git vim cd $component_dir/repo/installer || exit python3 ogboot_installer.py