Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
fix: cleanup before exiting after preparation
[email protected]d355d35f78f6
diff --git a/libs/qemu-docker/windows/src/entry.sh b/libs/qemu-docker/windows/src/entry.shindex b15410dc03..19407f6d65 100644--- a/libs/qemu-docker/windows/src/entry.sh+++ b/libs/qemu-docker/windows/src/entry.sh@@ -55,8 +55,13 @@ echo "VM is up and running, and the CUA Computer Server is ready!"echo "Computer server accessible at localhost:5000"-# Detect initial setup by presence of /custom.iso (setup ISO mount)-if [ ! -f "/custom.iso" ]; then # Keep container alive- echo "Container running. Press Ctrl+C to stop."- tail -f /dev/null+# Detect initial setup by presence of custom ISO+CUSTOM_ISO=$(find / -maxdepth 1 -type f -iname "*.iso" -print -quit 2>/dev/null || true)+if [ -n "$CUSTOM_ISO" ]; then+ echo "Preparation complete. Shutting down gracefully..."+ cleanupfi++# Keep container alive for golden image boots+echo "Container running. Press Ctrl+C to stop."+tail -f /dev/null\ No newline at end of file