bind network and remote cleanup

This commit is contained in:
uprightbass360
2025-11-09 05:15:58 -05:00
parent 964359e32b
commit 90c53c47d9
2 changed files with 15 additions and 0 deletions

View File

@@ -349,6 +349,17 @@ if [[ $SKIP_STORAGE -eq 0 ]]; then
fi
fi
reset_remote_post_install_marker(){
local marker_dir="$REMOTE_STORAGE/install-markers"
local marker_path="$marker_dir/post-install-completed"
echo "⋅ Resetting remote post-install markers"
run_ssh "mkdir -p '$marker_dir' && rm -f '$marker_path'"
}
if [[ $SKIP_STORAGE -eq 0 ]]; then
reset_remote_post_install_marker
fi
# Clean up stale Docker resources before loading new images
cleanup_stale_docker_resources