Stop login prompt during first boot setup
This commit is contained in:
parent
84c45c1ad6
commit
420f02d3af
@ -114,7 +114,10 @@ autoinstall:
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/opt/cezen
|
||||
ExecStartPre=-/bin/systemctl stop getty@tty1.service
|
||||
ExecStartPre=-/usr/bin/chvt 1
|
||||
ExecStart=/bin/bash -lc 'clear >/dev/tty1 2>/dev/null || true; /usr/bin/openvt -c 1 -f -w -- env TERM=linux /opt/cezen/firstboot-setup.sh'
|
||||
ExecStartPost=-/bin/systemctl start getty@tty1.service
|
||||
StandardOutput=journal+console
|
||||
StandardError=journal+console
|
||||
Restart=no
|
||||
|
||||
@ -121,7 +121,10 @@ autoinstall:
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/opt/cezen
|
||||
ExecStartPre=-/bin/systemctl stop getty@tty1.service
|
||||
ExecStartPre=-/usr/bin/chvt 1
|
||||
ExecStart=/bin/bash -lc 'clear >/dev/tty1 2>/dev/null || true; /usr/bin/openvt -c 1 -f -w -- env TERM=linux CEZEN_TIER=starter /opt/cezen/firstboot-setup.sh'
|
||||
ExecStartPost=-/bin/systemctl start getty@tty1.service
|
||||
StandardOutput=journal+console
|
||||
StandardError=journal+console
|
||||
Restart=no
|
||||
|
||||
Loading…
Reference in New Issue
Block a user