Skip to main content

load_template

Function load_template 

Source
pub fn load_template(workspace_root: &Path) -> Result<String>
Expand description

Load the cloud-init template for a workspace.

Prefers <workspace_root>/.yah/infra/cloud-init/mirror.yml if it exists, otherwise returns the embedded DEFAULT_TEMPLATE.