From 40823a31de4ab9da3fa4d3e8202aea7ef5caf1dc Mon Sep 17 00:00:00 2001 From: Alex Palaistras Date: Sun, 1 Aug 2021 22:29:25 +0100 Subject: [PATCH] host/lhr01nuc: Add default update strategies These are more wary and operate on a weekend upgrade window, which is likely when a side-project will have more time and focus. --- host/lhr01nuc/spec.bu | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/host/lhr01nuc/spec.bu b/host/lhr01nuc/spec.bu index 608485e..3f8fe85 100644 --- a/host/lhr01nuc/spec.bu +++ b/host/lhr01nuc/spec.bu @@ -55,3 +55,20 @@ storage: dns-search= may-fail=false method=manual + + - path: /etc/zincati/config.d/51-rollout-wariness.toml + contents: + inline: | + [identity] + rollout_wariness = 0.8 + + - path: /etc/zincati/config.d/55-update-strategy.toml + contents: + inline: | + [updates] + strategy = "periodic" + + [[updates.periodic.window]] + days = ["Sat", "Sun"] + start_time = "22:30" + length_minutes = 60