- template/ : build Packer du template Windows 11 (ex /data/Installer/MyTemplate) - deploy/ : OpenTofu + playbooks Ansible (ex /data/Tofu) - bin/Deploy : menu de déploiement (lien depuis /usr/local/bin/Deploy) - jeton API Proxmox sorti des playbooks vers deploy/proxmox-secret.yml (hors git) - README.md : documentation de la structure et du mode opératoire - Ameliorations.md : recommandations pour fiabiliser les mesures - tests/ (dépôt beWeapon-LT) et archives/ exclus Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
457 B
PowerShell
11 lines
457 B
PowerShell
# Journalisation
|
|
"Installation du dotnet runtime" | Out-File -FilePath "C:\install.log" -Append -Encoding utf8
|
|
|
|
# 1. Installation du dotnet runtime (avec attente de la fin du processus)
|
|
$installer = Get-ChildItem -Path "D:\install", "E:\install", "F:\install" -Filter "dotnet-runtime-10.0.11-win-x64.exe" -ErrorAction SilentlyContinue | Select-Object -First 1
|
|
|
|
if($installer) {
|
|
Start-Process -FilePath $installer.FullName "/passive /norestart" -Wait
|
|
}
|
|
|