Skip to content

Commit

Permalink
Fix if
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed May 22, 2023
1 parent 2b4d8c5 commit d1f0c8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overlay/files/system/oem/02_agent.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: "Start agent"
stages:
boot:
- if: '[ ! -f "/run/cos/recovery_mode" ] || [ ! -f "/run/cos/live_mode" ] && [ -d "/usr/share/systemd" ]'
- if: '[ ! -f "/run/cos/recovery_mode" ] && [ -d "/usr/share/systemd" ]'
commands:
- systemctl start kairos-agent
- systemctl enable kairos-agent
initramfs:
- if: '[ ! -f "/run/cos/recovery_mode" ] [ ! -f "/run/cos/live_mode" ] && [ -d "/usr/share/systemd" ]'
- if: '[ ! -f "/run/cos/recovery_mode" ] && [ -d "/usr/share/systemd" ]'
commands:
- systemctl enable kairos-agent

0 comments on commit d1f0c8e

Please sign in to comment.