Here's mine on an 18.04 box:
Code:
$ systemd-analyze blame
1.795s systemd-networkd-wait-online.service
1.065s keyboard-setup.service
789ms cloud-init-local.service
766ms cloud-config.service
659ms dev-vda2.device
518ms cloud-init.service
391ms networkd-dispatcher.service
390ms cloud-final.service
221ms systemd-udev-trigger.service
209ms systemd-journald.service
If you don't use automatic updates, which I do not, then you don't need any of those APT services and definitely don't need the Canonical "news/MOTD" stuff.
My systems mostly have static IPs, no DHCP. The one above does too.
Disable the APT stuff:
Code:
$ sudo systemctl stop apt-daily.timer
$ sudo systemctl stop apt-daily.service
$ sudo systemctl disable apt-daily.timer
Removed /etc/systemd/system/timers.target.wants/apt-daily.timer.
$ sudo systemctl disable apt-daily.service
$ sudo systemctl mask apt-daily.timer
Created symlink /etc/systemd/system/apt-daily.timer â /dev/null.
$ sudo systemctl mask apt-daily.service
Created symlink /etc/systemd/system/apt-daily.service â /dev/null.
We don't have to live with Canonical's defaults.
Bookmarks