Skip to main content

max / alloy_tui

791 B · 19 lines History Blame Raw
1 # Put first-boot account creation on the console the user is looking at.
2 #
3 # Fedora's initial-setup.service sets TTYPath=/dev/tty7, and
4 # run-initial-setup contains no chvt, so nothing switches the active VT
5 # to it. After plymouth quits the console sits on tty1, which means the
6 # account prompt renders to a VT nobody is watching and the machine
7 # looks hung on a blank screen.
8 #
9 # tty1 is free at this point: initial-setup declares Before=getty-pre.target
10 # so no getty has spawned, and greetd (Alias=display-manager.service,
11 # Conflicts=getty@tty1.service) is held by Before=display-manager.service
12 # until initial-setup exits.
13 #
14 # Revisit if initial-setup ever grows its own VT handling, and drop this
15 # entirely when the Alloy installer replaces Anaconda.
16
17 [Service]
18 TTYPath=/dev/tty1
19