Skip to content

Mkmotd use hostconfig #293

Merged
merged 2 commits into from
Jan 3, 2023
Merged

Mkmotd use hostconfig #293

merged 2 commits into from
Jan 3, 2023

Conversation

donald
Copy link
Collaborator

@donald donald commented Jan 3, 2023

When tags are changed and motd.pl is run (e.g. via clusterd), then
/etc/motd will still show the old tags, because mkmotd.pl uses
/node which was populated during the last boot.

Use hostconfig instead /node to find tags.

When tags are changed and motd.pl is run (e.g. via clusterd), then
/etc/motd will still show the old tags, because `mkmotd.pl` uses
`/node` which was populated during the last boot.

Use `hostconfig` instead `/node` to find tags.
Evaluate `hostconfig` only once.
@donald donald requested a review from wwwutz January 3, 2023 14:19
@donald donald merged commit 707831a into master Jan 3, 2023
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants