mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-10-30 08:36:55 +09:00
Vagrant + Hyper-V requires the process itself to run elevated; being in the Hyper-V Administrators group is necessary but not sufficient. Without this guard, the script would launch, pack the source, then hit a wall on 'vagrant up' with a permission error mid-run. Now it checks early: if any requested distro uses the Vagrant backend and the script isn't running elevated, print exact instructions and exit. Multipass-only runs (Ubuntu) still work without admin. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>