在/lib/systemd/system
目录下,将getty@.service
文件中的配置项ExectStart修改为:
ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM
在/lib/systemd/system
目录下,将getty@.service
文件中的配置项ExectStart修改为:
ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM