- 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>
13 lines
526 B
PowerShell
13 lines
526 B
PowerShell
# Journalisation
|
|
"Installation des drivers" | Out-File -FilePath "C:\install.log" -Encoding utf8
|
|
# Get-ChildItem -Path "D:\" | Out-File -FilePath "C:\install.log" -Append -Encoding utf8
|
|
|
|
|
|
# 1. Installation du MSI VirtIO (avec attente de la fin du processus)
|
|
$installer = Get-ChildItem -Path "D:\", "E:\", "F:\" -Filter "virtio-win-gt-x64.msi" -ErrorAction SilentlyContinue | Select-Object -First 1
|
|
|
|
if($installer) {
|
|
Start-Process -FilePath "msiexec.exe" -ArgumentList "/i $installer.FullName /passive /norestart" -Wait
|
|
}
|
|
|