From 2f81f48dae39bceac8087b7ddd7287fcbf0b0fdf Mon Sep 17 00:00:00 2001 From: Archana Shinde Date: Thu, 13 Apr 2023 23:18:39 -0700 Subject: [PATCH] config: Add file under /opt as another location to look for the config Most of kata installation tools use this path for installation, so add this to the paths to look for the configuration.toml file. Signed-off-by: Archana Shinde --- src/libs/kata-types/src/config/default.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/kata-types/src/config/default.rs b/src/libs/kata-types/src/config/default.rs index 1d5e2b4d3c..6b5495c5a6 100644 --- a/src/libs/kata-types/src/config/default.rs +++ b/src/libs/kata-types/src/config/default.rs @@ -16,6 +16,7 @@ lazy_static! { pub static ref DEFAULT_RUNTIME_CONFIGURATIONS: Vec::<&'static str> = vec![ "/etc/kata-containers/configuration.toml", "/usr/share/defaults/kata-containers/configuration.toml", + "/opt/kata/share/defaults/kata-containers/configuration.toml", ]; }