Delay console after network.target

Let's see if we can get rid of the messages after boot.
This commit is contained in:
Rodrigo Arias 2024-09-27 09:48:47 +02:00
parent e8f80e7509
commit e971ce4ae4

View File

@ -338,6 +338,7 @@
# Run getty on /dev/console and restartt until it works # Run getty on /dev/console and restartt until it works
systemd.services."serial-getty@console" = { systemd.services."serial-getty@console" = {
enable = true; enable = true;
after = [ "network.target" ];
wantedBy = [ "getty.target" ]; # to start at boot wantedBy = [ "getty.target" ]; # to start at boot
serviceConfig.Restart = "always"; serviceConfig.Restart = "always";
}; };