From 1d0bc667e81b80fc632433873a1caf6fc058607b Mon Sep 17 00:00:00 2001 From: Itxaka Date: Mon, 11 Sep 2023 16:46:14 +0200 Subject: [PATCH] Set proper flags for reset service (#419) Its supposed to be unattended and reboot afterwards and those are now new flags under the agent to not trigger them from a normal manual reset Signed-off-by: Itxaka --- packages/bundles/kairos-overlay-files/collection.yaml | 2 +- .../files/etc/systemd/system/kairos-reset.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bundles/kairos-overlay-files/collection.yaml b/packages/bundles/kairos-overlay-files/collection.yaml index 0f64e8261..38d28e90f 100644 --- a/packages/bundles/kairos-overlay-files/collection.yaml +++ b/packages/bundles/kairos-overlay-files/collection.yaml @@ -1,4 +1,4 @@ packages: - name: "kairos-overlay-files" category: "bundles" - version: "1.0.5" + version: "1.0.6" diff --git a/packages/bundles/kairos-overlay-files/files/etc/systemd/system/kairos-reset.service b/packages/bundles/kairos-overlay-files/files/etc/systemd/system/kairos-reset.service index 0d7888f92..703edc9ca 100644 --- a/packages/bundles/kairos-overlay-files/files/etc/systemd/system/kairos-reset.service +++ b/packages/bundles/kairos-overlay-files/files/etc/systemd/system/kairos-reset.service @@ -8,6 +8,6 @@ StandardOutput=tty LimitNOFILE=49152 TTYPath=/dev/tty1 RemainAfterExit=yes -ExecStart=/usr/bin/kairos-agent reset +ExecStart=/usr/bin/kairos-agent reset --unattended --reboot [Install] WantedBy=multi-user.target