Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent /etc/issue and /etc/issue.net to be overwritten on package upgrade #211

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

dlesaffre
Copy link
Contributor

@dlesaffre dlesaffre commented Feb 19, 2024

prevent /etc/issue and /etc/issue.net to be overwritten on package upgrade

Overall Review of Changes:
On a apt dist-upgrade, or any other command that upgrades the 'base-files' package, the file /etc/issue and /etc/issue.net are replaced again with the default files.

Issue Fixes:
Please list (using linking) any open issues this PR addresses

Enhancements:

  • do not reset the altered /etc/issue and /etc/issue.net files on package upgrade

How has this been tested?:
Ran locally.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congrats on opening your first pull request and thank you for taking the time to help improve Ansible-Lockdown!
Please join in the conversation happening on the Discord Server as well.

Copy link
Member

@uk-bolly uk-bolly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent catch

@uk-bolly uk-bolly merged commit 9c0e3f4 into ansible-lockdown:devel Feb 20, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants