Use live-config autologin for bee user

This commit is contained in:
Mikhail Chusavitin
2026-03-14 08:33:36 +03:00
parent 20118bb400
commit e32fa6e477
5 changed files with 7 additions and 4 deletions

View File

@@ -23,6 +23,6 @@ lb config noauto \
--memtest none \
--iso-volume "BEE-DEBUG" \
--iso-application "Bee Hardware Audit" \
--bootappend-live "boot=live components console=tty0 console=ttyS0,115200n8 modprobe.blacklist=nouveau" \
--bootappend-live "boot=live components console=tty0 console=ttyS0,115200n8 username=bee user-fullname=Bee modprobe.blacklist=nouveau" \
--apt-recommends false \
"${@}"

View File

@@ -28,4 +28,8 @@ udevadm control --reload-rules 2>/dev/null || true
# Create log directory
mkdir -p /var/log
if [ -f /etc/sudoers.d/bee ]; then
chmod 0440 /etc/sudoers.d/bee
fi
echo "=== bee chroot setup complete ==="

View File

@@ -1,3 +0,0 @@
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin root --noclear %I $TERM

View File

@@ -22,6 +22,7 @@ lsof
file
less
vim-tiny
sudo
zstd
# QR codes (for displaying audit results)

View File

@@ -0,0 +1 @@
bee ALL=(ALL) NOPASSWD: ALL