def config_bootstrap_bash(name, commands):
    """
    Generate bootstrap block that executes a bash script defined by a set of commands, joined together
    :param name: name of bootstrap action
    :param commands: commands to chain together
    :return:
    """
    return {
        'Name': name,
        'ScriptBootstrapAction': {
            'Path': 'file:///bin/bash',
            'Args': ['-c', ' && '.join(commands)]
        }
    }