Repository navigation
Conversation
Creates a VM that boots the account's personal Join My Homelab image, installs itself and joins the community cluster as a node. The image is per account, so the script asks joinmyhomelab.com for it over SSH (the first connection creates the account), or takes VM_ISO_URL. An unattended run without VM_ISO_URL creates the VM without the image instead of prompting, so the build test needs no account.
|
Try this branch
bash -c "$(curl -fsSL "https://raw.githubusercontent.com/joinmyhomelab/DevScripts/vm/joinmyhomelab-vm/vm/joinmyhomelab-vm.sh")"Only the script itself comes from this branch. The engine it loads still Against a core branch as wellAdd |
…(VM) at 5fefebb
Proxmox script test@bash3r777 ✅ 1/1 passed at
✅ vm/joinmyhomelab-vm.sh (VM) — build logFull logs: workflow run (artifacts |

✍️ Description
Adds
vm/joinmyhomelab-vm.shandjson/joinmyhomelab-vm.json. Join My Homelab is a community compute marketplace: members lend spare Proxmox hardware and other members host VMs on the shared cluster — this VM is the node that provides the hardware. It boots a vendor image, likeumbrel-os-vm, with one deviation: the image is built per account and carries that account's join token, so it cannot be a fixed public URL. The script asks the platform for it over SSH, or takesVM_ISO_URL; an unattended run without it creates the VM without the image instead of prompting. Tested on real Proxmox VE hosts, unattended, through the same env contract your build test uses.🔗 Related PR / Issue
Link: #2718
✅ Prerequisites
🧩 Script
Name: Join My Homelab
Tool: A community compute marketplace. Members lend spare Proxmox hardware, and other members host VMs/VPS on the shared cluster; the contributor keeps 90% of the credits their node produces. This script creates the node VM.
🗂️ Category
vm/)🖥️ Platform – tested on
🏗️ Architecture
🛠️ Type of Change
🔍 Code & Security Review
CODE-AUDIT.md&CONTRIBUTING.mdguidelinesvm/joinmyhomelab-vm.sh,json/joinmyhomelab-vm.json)📋 Additional Information
How it was tested
Proxmox VE 9 hosts, using the same contract as your harness —
VM_UNATTENDED=1,VM_VMID,VM_HOSTNAME,VM_BRIDGE,VM_STORAGE,VM_ISO_STORAGE,VM_STARTset, stdin closed, script fetched by raw URL from this branch:VM_ISO_URL(what your build test will do): exit 0, VM created and started, image omitted — no prompt, no hang, no SSH attempt. A guest with no bootable image gets no DHCP lease, which your harness reports rather than fails.VM_ISO_URLset to a real account image: exit 0, image downloaded and cached, VM created with the ISO attached and booted. The console showed Talos installing from the platform's registry, and the guest registered with the cluster (rmhl-bbbe14d6a3, IP 192.168.10.186). The test node and its VMs were removed afterwards.bash -npasses;shellcheck -S warningreports fewer findings than the existingvm/scripts (sameSC1090/SC2034classes).Why unattended never does the SSH handshake
The platform creates an account for any unknown key on first connection. If an unattended build did the handshake, every CI run would enrol an account and boot a node at the platform. So the handshake only runs when not unattended, and never when
VM_ISO_URLis set — unattended installs must passVM_ISO_URL.The image is per account
The image is a small Talos installer carrying that account's discovery identity; it is not fetchable from a public URL.
VM_ISO_URLis how an unattended install supplies it; interactively the script asks the platform (ssh -T [email protected] -- --iso-url), and the first connection creates the account.📦 Application Requirements (for new scripts)
Said plainly: this is a platform node installer, not an application, and it does not meet that bar — the project is about two months old and has no stars, and there are no release tarballs (the "release" is the per-account image the platform builds). I have left the boxes unticked rather than tick them falsely. If that rules it out, no hard feelings: the script is published standalone either way.
🌐 Source
🤖 AI Assistance
AGENTS.mdand.github/agents/pve-script-creator.agent.mdas guidance, and the output has been reviewed and corrected to match those guidelines.Degree of LLM use: drafted by an AI agent — DeepSeek V4.1 Flash (OpenRouter), which exposes no explicit reasoning-effort setting. Reviewed against
AGENTS.mdand thevm/conventions, shellchecked, and tested unattended on real Proxmox VE hosts as described above.