Improve VM boot diagnostics and guest support

This commit is contained in:
Mikhail Chusavitin
2026-03-14 07:51:16 +03:00
parent e8a52562e7
commit caeafa836b
5 changed files with 14 additions and 2 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 nomodeset modprobe.blacklist=nouveau" \
--bootappend-live "boot=live components console=tty0 console=ttyS0,115200n8 modprobe.blacklist=nouveau" \
--apt-recommends false \
"${@}"

View File

@@ -19,9 +19,13 @@ else
insmod all_video
fi
insmod serial
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
insmod gfxterm
insmod png
source /boot/grub/theme.cfg
terminal_output gfxterm
terminal_input console serial
terminal_output gfxterm serial

View File

@@ -11,6 +11,8 @@ systemctl enable bee-nvidia.service
systemctl enable bee-audit.service
systemctl enable bee-sshsetup.service
systemctl enable ssh.service
systemctl enable qemu-guest-agent.service 2>/dev/null || true
systemctl enable serial-getty@ttyS0.service 2>/dev/null || true
# Ensure scripts are executable
chmod +x /usr/local/bin/bee-network.sh 2>/dev/null || true

View File

@@ -11,6 +11,7 @@ lshw
iproute2
isc-dhcp-client
iputils-ping
qemu-guest-agent
# SSH
openssh-server

View File

@@ -0,0 +1,5 @@
# Virtual GPU drivers for KVM/VMware guests
virtio_gpu
bochs_drm
qxl
vmwgfx