mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-17 10:09:05 +02:00
chore: retry stalled Windows Update online catalog search (#2507)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
66c35b6783
commit
4063c3800d
@@ -61,9 +61,7 @@ $volume = Invoke-WithVhdLock {
|
||||
if ($disk.PhysicalSectorSize -gt 4096) {
|
||||
throw "SQL Server fixture disk exposes unsupported physical sectors"
|
||||
}
|
||||
$disk | Initialize-Disk -PartitionStyle GPT -PassThru |
|
||||
New-Partition -UseMaximumSize -AssignDriveLetter |
|
||||
Format-Volume -FileSystem NTFS -NewFileSystemLabel CISQL -Confirm:$false
|
||||
Format-NewDisk $disk CISQL
|
||||
}
|
||||
$instanceDir = "$($volume.DriveLetter):\SQLServer"
|
||||
fsutil.exe fsinfo sectorinfo "$($volume.DriveLetter):"
|
||||
|
||||
Reference in New Issue
Block a user