mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-30 23:37:45 +00:00
runtime-rs: Update list of config paths to check
Update the `DEFAULT_RUNTIME_CONFIGURATIONS` list to include a number of rust runtime specific paths to try to load before checking the "traditional" (golang) runtime configuration paths. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
89ef464b7c
commit
b86ab5aa21
@ -14,6 +14,12 @@ use lazy_static::lazy_static;
|
||||
lazy_static! {
|
||||
/// Default configuration file paths, vendor may extend the list
|
||||
pub static ref DEFAULT_RUNTIME_CONFIGURATIONS: Vec::<&'static str> = vec![
|
||||
// The rust runtime specific paths
|
||||
"/etc/kata-containers/runtime-rs/configuration.toml",
|
||||
"/usr/share/defaults/kata-containers/runtime-rs/configuration.toml",
|
||||
"/opt/kata/share/defaults/kata-containers/runtime-rs/configuration.toml",
|
||||
|
||||
// The traditional golang paths
|
||||
"/etc/kata-containers/configuration.toml",
|
||||
"/usr/share/defaults/kata-containers/configuration.toml",
|
||||
"/opt/kata/share/defaults/kata-containers/configuration.toml",
|
||||
|
Loading…
Reference in New Issue
Block a user