= Details =
Previously, the default location for the cc-runtime configuration file was:
However, we recently added stateless  support to cc-runtime . This results in two significant changes:
1) It now checks in multiple locations for its configuration file.
2) It changes the default location of the configuration file to:
If you are building the runtime yourself, the general advice is to remove the "/etc/clear-containers/" directory since the old configuration file location will in fact take precedence over the new one .
To see where the runtime will attempt to read its configuration from, there is a new global option:
$ cc-runtime --cc-show-default-config-paths
In the example output above, if the runtime finds "/etc/clear-containers/configuration.toml", that file will be used. Otherwise it will try to use "/usr/share/defaults/clear-containers/configuration.toml". If neither file exists, it will error.