in netbench-orchestrator/src/ssm_utils.rs [147:159]
fn wait_previous_step(wait_steps: Vec<Step>) -> Vec<String> {
let mut assemble_command = Vec::new();
// Insert at beginning of user provided commands
for step in wait_steps {
// wait for previous steps
assemble_command.push(format!(
"cd /home/ec2-user; until [ -f fin_{}___ ]; do sleep 5; done",
step.as_str()
));
}
assemble_command
}