Skip to content

Commit

Permalink
disabled predictable network ifaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Nov 18, 2022
1 parent 50aee35 commit 043e469
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kvmd.install
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ post_upgrade() {
[ ! -f /etc/conf.d/rngd ] || (echo 'RNGD_OPTS="-o /dev/random -r /dev/hwrng -x jitter -x pkcs11 -x rtlsdr"' > /etc/conf.d/rngd)
[ ! -f /etc/pam.d/system-login ] || sed -i -e '/\<pam_systemd\.so\>/ s/^#*/#/' /etc/pam.d/system-login
[ ! -f /etc/pam.d/system-auth ] || sed -i -e '/\<pam_systemd_home\.so\>/ s/^#*/#/' /etc/pam.d/system-auth
[ ! -e /etc/systemd/network/99-default.link ] || ln -s /dev/null /etc/systemd/network/99-default.link

# Some update deletes /etc/motd, WTF
# shellcheck disable=SC2015,SC2166
Expand Down

0 comments on commit 043e469

Please sign in to comment.