It could be that I misunderstand the function of the “cmd” field in the p4App.json file when using the switch target; however, when I set the “cmd” to a valid script file (one that I run manually without issue), the command does not run when the p4App container launches. Instead, it seems to run when I exit the mininet session…
Is there a way to have a script run at startup using the available p4App tools? (I could probably put something into the dockerfile, but I’d rather not hard code the solution.
I appreciate any advice on this topic!