From 90e8b3f6ded99a9f3aaf3309f5dc0473eb3dc308 Mon Sep 17 00:00:00 2001 From: Shikha Vyaghra Date: Fri, 31 Jan 2025 22:59:07 +0000 Subject: [PATCH] packages: change settings template for Bootstrap containers We need to make source and mode optional. --- packages/os/bootstrap-containers-toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/os/bootstrap-containers-toml b/packages/os/bootstrap-containers-toml index 3988328f4..40e217f96 100644 --- a/packages/os/bootstrap-containers-toml +++ b/packages/os/bootstrap-containers-toml @@ -5,8 +5,12 @@ std = { version = "v1", helpers = ["if_not_null"] } {{#if_not_null settings.bootstrap-containers}} {{#each settings.bootstrap-containers}} ["{{@key}}"] +{{#if_not_null this.source}} source = "{{{this.source}}}" +{{/if_not_null}} +{{#if_not_null this.mode}} mode = "{{{this.mode}}}" +{{/if_not_null}} {{#if_not_null this.user-data}} user-data = "{{{this.user-data}}}" {{/if_not_null}}