Clean more Canonical services (#2563)

This commit is contained in:
Igor Pečovnik 2021-01-19 23:23:47 +01:00 committed by GitHub
parent dedf5b3bfc
commit 5f350de697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -567,6 +567,9 @@ install_distribution_specific()
rm -f "${SDCARD}"/etc/update-motd.d/50-motd-news
rm -f "${SDCARD}"/etc/update-motd.d/80-esm
rm -f "${SDCARD}"/etc/update-motd.d/80-livepatch
rm -f "${SDCARD}"/etc/update-motd.d/90-updates-available
rm -f "${SDCARD}"/etc/update-motd.d/91-release-upgrade
rm -f "${SDCARD}"/etc/update-motd.d/95-hwe-eol
# remove motd news from motd.ubuntu.com
[[ -f "${SDCARD}"/etc/default/motd-news ]] && sed -i "s/^ENABLED=.*/ENABLED=0/" "${SDCARD}"/etc/default/motd-news