I am attempting to create a custom image from Ubuntu Cloud image, specifically https://cloud-images.ubuntu.com/minimal/releases/impish/release/ubuntu-21.10-minimal-cloudimg-amd64.img
Using virsh vncdisplay and VNC Viewer I only get the initial boot output from grub but not the OS console.
Everything else works fine except for the VNC console display. I had thought that I need to set the serial output for the console but that didn't seem to help either. During image create I modify GRUB_CMDLINE_LINUX_DEFAULT
#!/bin/bash
KERNEL_OPTIONS=(
'console=tty1'
'console=ttyS0,115200n8'
)
#Replace default cmdline args with KERNEL_OPTIONS, to redirect logs to serial console
sudo sed -i -e \
"s/.*GRUB_CMDLINE_LINUX_DEFAULT=\"\(.*\)\"/GRUB_CMDLINE_LINUX_DEFAULT=\"${KERNEL_OPTIONS[*]}\"/" \
/etc/default/grub.d/50-cloudimg-settings.cfg
#Update grub to persist the change
sudo update-grub
Has anyone gotten vnc console display working with Ubuntu cloud images?