mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
Anka disable beta seed (#4564)
* Remove current beta seed program * format unenroll output
This commit is contained in:
committed by
GitHub
parent
04aeb7bfd4
commit
0365a15eb6
@@ -232,6 +232,17 @@ function Show-StringWithFormat {
|
||||
}
|
||||
}
|
||||
|
||||
function Remove-CurrentBetaSeed {
|
||||
param(
|
||||
[Parameter(Mandatory)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string] $HostName
|
||||
)
|
||||
|
||||
$command = "sudo /System/Library/PrivateFrameworks/Seeding.framework/Versions/Current/Resources/seedutil unenroll"
|
||||
Invoke-SSHPassCommand -HostName $HostName -Command $command | Out-String
|
||||
}
|
||||
|
||||
function Test-AutoLogon {
|
||||
param(
|
||||
[Parameter(Mandatory)]
|
||||
|
||||
Reference in New Issue
Block a user