Protect against first boot shenanigans (#1000)

This commit is contained in:
Itxaka 2024-08-02 11:59:49 +02:00 committed by GitHub
parent e89fe966cb
commit 16b1d80dcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 5 additions and 17 deletions

View File

@ -1,4 +1,4 @@
packages:
- name: "kairos-overlay-files"
category: "static"
version: "1.1.43"
version: "1.1.44"

View File

@ -5,6 +5,4 @@ Wants=network.target
[Service]
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/kairos-agent start
[Install]
WantedBy=multi-user.target
ExecStart=/usr/bin/kairos-agent start

View File

@ -20,5 +20,3 @@ ExecStartPost=-/usr/bin/kill -SIGRTMIN+20 1
TimeoutStopSec=10s
# Restart if it fails, like user doing control+c
Restart=on-failure
[Install]
WantedBy=multi-user.target

View File

@ -14,6 +14,4 @@ TTYPath=/dev/tty1
RemainAfterExit=yes
ExecStart=/usr/bin/kairos-agent recovery
# Start systemd messages on tty
ExecStartPost=-/usr/bin/kill -SIGRTMIN+20 1
[Install]
WantedBy=multi-user.target
ExecStartPost=-/usr/bin/kill -SIGRTMIN+20 1

View File

@ -14,5 +14,3 @@ ExecStart=/usr/bin/kairos-agent reset --unattended --reboot
# Start systemd messages on tty
ExecStartPost=-/usr/bin/kill -SIGRTMIN+20 1
TimeoutStopSec=10s
[Install]
WantedBy=multi-user.target

View File

@ -3,6 +3,4 @@ Description=kairos installer
After=sysinit.target
[Service]
ExecStart=/usr/bin/kairos-agent webui
TimeoutStopSec=10s
[Install]
WantedBy=multi-user.target
TimeoutStopSec=10s

View File

@ -14,6 +14,4 @@ ExecStartPre=-/usr/bin/kill -SIGRTMIN+21 1
ExecStart=/usr/bin/kairos-agent install
# Start systemd messages on tty
ExecStartPost=-/usr/bin/kill -SIGRTMIN+20 1
TimeoutStopSec=10s
[Install]
WantedBy=multi-user.target
TimeoutStopSec=10s