diff options
author | Maxim Devaev <[email protected]> | 2022-11-18 09:04:29 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-11-18 09:04:29 +0300 |
commit | 043e4698f58db6d1915413f249846826085e0636 (patch) | |
tree | 62091d403f136e4a6b09bb16458d9f90db22b497 | |
parent | 50aee35ca9ebcb3bf92cd74e26bd70b49c509273 (diff) |
disabled predictable network ifaces
-rw-r--r-- | kvmd.install | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install index 5bd5bf53..16c54959 100644 --- a/kvmd.install +++ b/kvmd.install @@ -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 |