Skip to content

Commit

Permalink
fix: almalinux 9 missing /etc/sudoers
Browse files Browse the repository at this point in the history
  • Loading branch information
jomrr committed Jun 19, 2024
1 parent 34ead09 commit 446d562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playbooks/vars/almalinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ dockerfile:
- rm -f /lib/systemd/system/basic.target.wants/*
- rm -f /lib/systemd/system/anaconda.target.wants/*
- systemctl mask getty.service
- touch /etc/sudoers
- sed -i -e 's/^\\(Defaults\\s*requiretty\\)/#--- \\1/' /etc/sudoers

0 comments on commit 446d562

Please sign in to comment.