You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As @chlohr pointed out in the linked discussion, it would be beneficial to allow users to specify a different kathara.conf file when executing a command. Currently, Kathara looks at ~/.config/kathara.conf, but in some cases, users may need to override this with a custom configuration.
Proposed Solution
Add an option to specify a custom kathara.conf file to all commands.
Ensure backward compatibility by defaulting to ~/.config/kathara.conf when no alternative file is provided.
Update the documentation to reflect this new option.
The text was updated successfully, but these errors were encountered:
tcaiazzi
changed the title
Selecting another kathara.conf
Allow specifying a different kathara.conf file when starting a network scenario
Feb 14, 2025
tcaiazzi
changed the title
Allow specifying a different kathara.conf file when starting a network scenario
Allow specifying a different kathara.conf file
Feb 14, 2025
@tcaiazzi I would suggest a variation of this feature. Instead of adding an extra parameter to each command, another solution is to check if the network scenario folder has a kathara.conf file inside. If so, all the commands use that configuration file when running in a specific folder. We should also add an INFO logging to the user (if another configuration file is used).
Discussed in KatharaFramework Discussions #339
Summary
As @chlohr pointed out in the linked discussion, it would be beneficial to allow users to specify a different
kathara.conf
file when executing a command. Currently, Kathara looks at~/.config/kathara.conf
, but in some cases, users may need to override this with a custom configuration.Proposed Solution
kathara.conf
file to all commands.~/.config/kathara.conf
when no alternative file is provided.The text was updated successfully, but these errors were encountered: