- 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>
12 lines
532 B
PowerShell
12 lines
532 B
PowerShell
# 2. Installation des Guest Tools
|
|
"Installation de Guest tools" | Out-File -FilePath "C:\install.log" -Encoding utf8
|
|
|
|
$installer = Get-ChildItem -Path "D:\", "E:\", "F:\" -Filter "virtio-win-guest-tools.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
|
|
}
|