v1.0.0.1 — non-interactive deploy fix
Patch release fixing a deploy-blocking crash reported by users.
Fixed
- Non-interactive deploy crash.
Install-HomeLab(and the lab-wide resolver inGet-LabCredential) tried to predict whether the host could prompt for a password using$Host.UI.RawUI. On non-interactive hosts (scriptblock /Start-Job/ remoting / CI)RawUIis non-null yet the host cannot prompt, soRead-Hostthrew a cryptic "host program does not support user interaction" error mid-deploy. The prompt now runs only when stdin is not redirected, and is wrapped so a host that cannot prompt surfaces the actionable "lab password is required" message instead of a raw host exception. - Default lab passwords restored in
config.psd1. The published default password (AdminPassand the three service-account passwords) was missing, forcing a password prompt on a default deploy. Restored so a no-argument deploy runs without interaction, matching the documented "default passwords are published in source control" contract.
Upgrade
Pull the latest, or for an affected v1.0.0 install, either update config.psd1 with the default passwords or supply one at deploy time:
Install-HomeLab -LabPassword (ConvertTo-SecureString 'P@ssw0rd!' -AsPlainText -Force)
# or: $env:HOMELAB_PASSWORD = 'P@ssw0rd!'Full Changelog: v1.0.0...v1.0.0.1