def virtual_machine_names_to_container_names(configuration):
    """
    convert virtual machine names to container names using configuration
    Args:
        configuration: user final configuration

    Returns:
        list of container name in array
    """
    return [
        "{0}_{1}".format(configuration[selected_module]["virtual_machine_name"], selected_module.rsplit("/")[1])
        for selected_module in configuration
    ]