From 3eb57a6d49504ad67d13abff6b446ec438f5da9c Mon Sep 17 00:00:00 2001 From: Eugene Rakhmatulin Date: Fri, 19 Dec 2025 10:39:28 -0800 Subject: [PATCH] Updated README - autodiscovery in copy ops --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 0e92914..fcb290d 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ The Dockerfile builds from the main branch of VLLM, so depending on when you run Updated `build-and-copy.sh` to support copying to multiple hosts (thanks @eric-humane for the contribution). - Added `-c, --copy-to` (accepts space- or comma-separated host lists) and kept `--copy-to-host` as a backward-compatible alias. - Added `--copy-parallel` to copy to all hosts concurrently. +- Added autodiscovery support: if no hosts are provided to `--copy-to`, the script detects other cluster nodes automatically. - **BREAKING CHANGE**: Short `-h` argument is now used for help. Use `-c` for copy. ### 2025-12-18 @@ -125,6 +126,14 @@ Copy to multiple hosts in parallel: ./build-and-copy.sh --copy-to 192.168.177.12 192.168.177.13 --copy-parallel ``` +**Build and copy using autodiscovery:** + +If you omit the host list after `--copy-to`, the script will attempt to auto-discover other nodes in the cluster (excluding the current node) and copy the image to them. + +```bash +./build-and-copy.sh --copy-to +``` + Using a different username: ```bash