Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
added `--allowerasing` for yum install
  • Loading branch information
boypt authored Jul 29, 2024
1 parent 7c83502 commit 9d2db89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ls
[[ -f /etc/ssh/sshd_config ]] && mv /etc/ssh/sshd_config /etc/ssh/sshd_config.$(date +%Y%m%d)
# Install rpm packages. Exclude all debug packages.
find . ! -name '*debug*' -name '*.rpm' | xargs sudo yum --disablerepo=* localinstall -y
find . ! -name '*debug*' -name '*.rpm' | xargs sudo yum --disablerepo=* localinstall -y --allowerasing
# in case host key files got permissions too open.
chmod -v 600 /etc/ssh/ssh_host_*_key
Expand Down

0 comments on commit 9d2db89

Please sign in to comment.