mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 12:06:59 +00:00
Add Linux kernel version to software report (#2959)
This commit is contained in:
@@ -17,6 +17,11 @@ function Get-OSName {
|
||||
lsb_release -ds
|
||||
}
|
||||
|
||||
function Get-KernelVersion {
|
||||
$kernelVersion = uname -r
|
||||
return "Linux kernel version: $kernelVersion"
|
||||
}
|
||||
|
||||
function Test-IsUbuntu16 {
|
||||
return (lsb_release -rs) -eq "16.04"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user