fix(lint): change Python job runner from Windows to Linux and update shell to Bash
Lint / pssa (push) Successful in 10s
Lint / python (push) Failing after 17s

fix(script): add CmdletBinding attribute to Set-GuestInfoIP function for better process support
This commit is contained in:
2026-05-26 18:38:56 +02:00
parent a190282757
commit 9c84e66dc3
2 changed files with 15 additions and 51 deletions
+1
View File
@@ -146,6 +146,7 @@ if (-not (Test-Path $OutputDir)) {
}
function Set-GuestInfoIP {
[CmdletBinding(SupportsShouldProcess)]
param([string]$VmxPath, [string]$IP, [string]$Mask, [string]$Gw)
$keys = @('guestinfo.ip-assignment', 'guestinfo.netmask', 'guestinfo.gateway')
$lines = (Get-Content -LiteralPath $VmxPath -Encoding UTF8) |