@@ -85,12 +85,18 @@ in
8585 };
8686
8787 systemd.services."container-getty@" =
88− { serviceConfig.ExecStart = gettyCmd "--noclear --keep-baud pts/%I 115200,38400,9600 $TERM";
88+ { serviceConfig.ExecStart = [
89+ "" # override upstream default with an empty ExecStart
90+ (gettyCmd "--noclear --keep-baud pts/%I 115200,38400,9600 $TERM")
91+ ];
8992 restartIfChanged = false;
9093 };
9194
9295 systemd.services."console-getty" =
93− { serviceConfig.ExecStart = gettyCmd "--noclear --keep-baud console 115200,38400,9600 $TERM";
96+ { serviceConfig.ExecStart = [
97+ "" # override upstream default with an empty ExecStart
98+ (gettyCmd "--noclear --keep-baud console 115200,38400,9600 $TERM")
99+ ];
94100 serviceConfig.Restart = "always";
95101 restartIfChanged = false;
96102 enable = mkDefault config.boot.isContainer;