fix(refs): update residual Prepare-TemplateSetup references in host files
Setup-Host.ps1 and docs/HOST-SETUP.md still referenced the old name Prepare-TemplateSetup.ps1; update to Prepare-WinBuild2025.ps1.
This commit is contained in:
+1
-1
@@ -344,7 +344,7 @@ Write-Host " NIC: VMnet8 (NAT) — internet required during provisioning"
|
|||||||
Write-Host " b. Install Windows Server 2025 + enable WinRM inside VM"
|
Write-Host " b. Install Windows Server 2025 + enable WinRM inside VM"
|
||||||
Write-Host " c. From this host run:"
|
Write-Host " c. From this host run:"
|
||||||
Write-Host " cd $scriptDir\template"
|
Write-Host " cd $scriptDir\template"
|
||||||
Write-Host " .\Prepare-TemplateSetup.ps1 -VMIPAddress <VM_IP> -SkipWindowsUpdate"
|
Write-Host " .\Prepare-WinBuild2025.ps1 -VMIPAddress <VM_IP> -SkipWindowsUpdate"
|
||||||
Write-Host " d. Shut down VM, take snapshot named exactly: BaseClean"
|
Write-Host " d. Shut down VM, take snapshot named exactly: BaseClean"
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
Write-Host " 4. Register SSH key with Gitea:"
|
Write-Host " 4. Register SSH key with Gitea:"
|
||||||
|
|||||||
+2
-2
@@ -118,12 +118,12 @@ Allo `Setup-Host.ps1` exit 0:
|
|||||||
2. **Posiziona ISO Windows Server 2025** in `F:\CI\ISO\`
|
2. **Posiziona ISO Windows Server 2025** in `F:\CI\ISO\`
|
||||||
(es. `26100.1742.240906-0331.ge_release_svc_refresh_SERVER_VOL_x64FRE_en-us.iso`)
|
(es. `26100.1742.240906-0331.ge_release_svc_refresh_SERVER_VOL_x64FRE_en-us.iso`)
|
||||||
|
|
||||||
3. **Configura host WinRM client** (necessario per Prepare-TemplateSetup.ps1):
|
3. **Configura host WinRM client** (necessario per Prepare-WinBuild2025.ps1):
|
||||||
```powershell
|
```powershell
|
||||||
Set-Item WSMan:\localhost\Client\AllowUnencrypted $true -Force
|
Set-Item WSMan:\localhost\Client\AllowUnencrypted $true -Force
|
||||||
Set-Item WSMan:\localhost\Client\TrustedHosts -Value '192.168.79.*' -Force -Concatenate
|
Set-Item WSMan:\localhost\Client\TrustedHosts -Value '192.168.79.*' -Force -Concatenate
|
||||||
```
|
```
|
||||||
*Note*: Prepare-TemplateSetup.ps1 imposta queste in modo transitorio e le ripristina nel `finally`.
|
*Note*: Prepare-WinBuild2025.ps1 imposta queste in modo transitorio e le ripristina nel `finally`.
|
||||||
|
|
||||||
4. **Provisiona il template VM** — vedi [WINDOWS-TEMPLATE-SETUP.md](WINDOWS-TEMPLATE-SETUP.md)
|
4. **Provisiona il template VM** — vedi [WINDOWS-TEMPLATE-SETUP.md](WINDOWS-TEMPLATE-SETUP.md)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user