- 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>
15 lines
702 B
PowerShell
15 lines
702 B
PowerShell
# Journalisation
|
|
"Installation de windowsdesktop runtime" | Out-File -FilePath "C:\install.log" -Append -Encoding utf8
|
|
|
|
$installer = Get-ChildItem -Path "D:\install", "E:\install", "F:\install" -Filter "windowsdesktop-runtime-10.0.12-win-x86.exe" -ErrorAction SilentlyContinue | Select-Object -First 1
|
|
|
|
if ($installer) {
|
|
Start-Process -FilePath $installer.FullName -ArgumentList "/passive /norestart" -Wait
|
|
} else {
|
|
Write-Error "Lecteur CD VirtIO introuvable."
|
|
"Lecteur CD VirtIO introuvable." | Out-File -FilePath "C:\install.log" -Append -Encoding utf8
|
|
}
|
|
|
|
# $Password = ConvertTo-SecureString "Stid_2026-03" -AsPlainText -Force
|
|
# Set-LocalUser -Name "NomUtilisateur" -Password $Password
|