Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion capz/templates/gmsa-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ spec:
& $scriptPath
} else {
Write-Host "RestartKubelet.ps1 not found. Running fallback command..."
nssm set kubelet start SERVICE_AUTO_START
& "$env:SYSTEMDRIVE\k\nssm" set kubelet start SERVICE_AUTO_START
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add .exe at the end of the path too so since this is running in powershell?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

}
path: C:/KubeletRestart_nssm_sc.ps1
permissions: "0744"
Expand Down
2 changes: 1 addition & 1 deletion capz/templates/gmsa-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ spec:
& $scriptPath
} else {
Write-Host "RestartKubelet.ps1 not found. Running fallback command..."
nssm set kubelet start SERVICE_AUTO_START
& "$env:SYSTEMDRIVE\k\nssm" set kubelet start SERVICE_AUTO_START
}
path: C:/KubeletRestart_nssm_sc.ps1
permissions: "0744"
Expand Down
2 changes: 1 addition & 1 deletion capz/templates/shared-image-gallery-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ spec:
& $scriptPath
} else {
Write-Host "RestartKubelet.ps1 not found. Running fallback command..."
nssm set kubelet start SERVICE_AUTO_START
& "$env:SYSTEMDRIVE\k\nssm" set kubelet start SERVICE_AUTO_START
}
path: C:/KubeletRestart_nssm_sc.ps1
permissions: "0744"
Expand Down
2 changes: 1 addition & 1 deletion capz/templates/windows-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ spec:
& $scriptPath
} else {
Write-Host "RestartKubelet.ps1 not found. Running fallback command..."
nssm set kubelet start SERVICE_AUTO_START
& "$env:SYSTEMDRIVE\k\nssm" set kubelet start SERVICE_AUTO_START
}
path: C:/KubeletRestart_nssm_sc.ps1
permissions: "0744"
Expand Down
2 changes: 1 addition & 1 deletion capz/templates/windows-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ spec:
& $scriptPath
} else {
Write-Host "RestartKubelet.ps1 not found. Running fallback command..."
nssm set kubelet start SERVICE_AUTO_START
& "$env:SYSTEMDRIVE\k\nssm" set kubelet start SERVICE_AUTO_START
}
path: C:/KubeletRestart_nssm_sc.ps1
permissions: "0744"
Expand Down
2 changes: 1 addition & 1 deletion capz/templates/windows-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ spec:
& $scriptPath
} else {
Write-Host "RestartKubelet.ps1 not found. Running fallback command..."
nssm set kubelet start SERVICE_AUTO_START
& "$env:SYSTEMDRIVE\k\nssm" set kubelet start SERVICE_AUTO_START
}
path: C:/KubeletRestart_nssm_sc.ps1
permissions: "0744"
Expand Down
Loading