mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-26 03:03:52 +00:00
Merge pull request #1721 from devimc/topic/data/kataCollectSupportSnap
data/kata-collect-data: support kata containers snap
This commit is contained in:
@@ -7,7 +7,10 @@
|
||||
|
||||
typeset -r script_name=${0##*/}
|
||||
typeset -r runtime_name="@RUNTIME_NAME@"
|
||||
typeset -r runtime=$(command -v "$runtime_name" 2>/dev/null)
|
||||
typeset -r runtime_path=$(command -v "$runtime_name" 2>/dev/null)
|
||||
typeset -r runtime_snap_name="kata-containers.runtime"
|
||||
typeset -r runtime_snap_path=$(command -v "$runtime_snap_name" 2>/dev/null)
|
||||
typeset -r runtime=${runtime_path:-"$runtime_snap_path"}
|
||||
typeset -r issue_url="@PROJECT_BUG_URL@"
|
||||
typeset -r script_version="@VERSION@ (commit @COMMIT@)"
|
||||
|
||||
|
Reference in New Issue
Block a user