Activate anaconda-shell@.service on switch to empty VT (#980062)
Right now, logind reserves tty6 for a login shell, which is not what we want - normally anaconda puts Xorg there, and there's no need for a login prompt anyway. This configures logind to activate "anaconda-shell@.service" when a user switches to an unused tty, and reserves tty2 for that purpose (which is where users expect a shell anyway). This will avoid us having login prompts that users don't know what to do with. It also probably saves us a little bit of RAM.
This commit is contained in:
parent
1f8aa84c5f
commit
dff15426f1
@ -38,6 +38,10 @@ systemctl mask fedora-configure.service fedora-loadmodules.service \
|
|||||||
fedora-autorelabel.service fedora-autorelabel-mark.service \
|
fedora-autorelabel.service fedora-autorelabel-mark.service \
|
||||||
fedora-wait-storage.service media.mount
|
fedora-wait-storage.service media.mount
|
||||||
|
|
||||||
|
## Make logind activate anaconda-shell@.service on switch to empty VT
|
||||||
|
symlink anaconda-shell@.service lib/systemd/system/autovt@.service
|
||||||
|
replace "#ReserveVT=6" "ReserveVT=2" etc/systemd/logind.conf
|
||||||
|
|
||||||
## Don't write the journal to the overlay, just keep it in RAM
|
## Don't write the journal to the overlay, just keep it in RAM
|
||||||
remove var/log/journal
|
remove var/log/journal
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user