0ceabbeed8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014FsEKyJrYF69Cj9ZXzFLRi
23 lines
750 B
Desktop File
23 lines
750 B
Desktop File
[Unit]
|
|
Description=Bridge&Join: установка bj при первой загрузке (ключ продукта на экране сервера)
|
|
# после этапа cloud-init «Config» и snapd: иначе их сообщения ложатся поверх вопросов на экране
|
|
After=network-online.target systemd-user-sessions.service cloud-config.service snapd.seeded.service
|
|
Wants=network-online.target
|
|
Before=getty@tty1.service
|
|
ConditionPathExists=!/var/lib/bj/.bj/installed-from-iso
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/local/sbin/bj-firstboot
|
|
StandardInput=tty
|
|
StandardOutput=tty
|
|
StandardError=tty
|
|
TTYPath=/dev/tty1
|
|
TTYReset=yes
|
|
TTYVHangup=yes
|
|
TimeoutSec=0
|
|
RemainAfterExit=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|