Project

General

Profile

Actions

action #104344

closed

Inconsistent systemd default target in OSD infrastructure

Added by okurz almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
Start date:
2021-12-26
Due date:
% Done:

0%

Estimated time:

Description

Observation

Apparently the default systemd target differs on our hosts. To be consistent we should use the same on all

Acceptance criteria

  • AC1: Same systemd default target is used on all OSD workers

Suggestions

  • Use sudo salt --no-color --state-output=changes -C \* cmd.run 'systemctl get-default' to see the configured default-target
  • Ensure that the same is used on all workers, e.g. sudo salt --no-color --state-output=changes -C 'G@roles:worker' cmd.run 'systemctl set-default multi-user.target'
  • Optional: Cleanup of unnecessary patterns and/or packages, e.g. gdm
Actions

Also available in: Atom PDF