mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Add more paths to crun runtime detection (#9086)
* add usr/local paths for crun detection Signed-off-by: Lex Rivera <me@lex.io>
This commit is contained in:
parent
c45524e662
commit
5fe074b540
@ -67,6 +67,8 @@ func findCRunContainerRuntime(root fs.FS, foundRuntimes runtimeConfigs) {
|
||||
locationsToCheck := []string{
|
||||
"usr/sbin", // Path when installing via package manager
|
||||
"usr/bin", // Path when installing via package manager
|
||||
"usr/local/bin", // Path when installing manually
|
||||
"usr/local/sbin", // Path when installing manually
|
||||
}
|
||||
|
||||
// Fill in the binary location with just the name of the binary,
|
||||
|
Loading…
Reference in New Issue
Block a user