Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use serial for boot command #163

Open
retpolanne opened this issue Dec 21, 2023 · 1 comment
Open

Use serial for boot command #163

retpolanne opened this issue Dec 21, 2023 · 1 comment

Comments

@retpolanne
Copy link

retpolanne commented Dec 21, 2023

Description

I'm testing Flatcar Container Linux on Packer, running on qemu-system-aarch64, and the virt machine doesn't seem to support graphics out of the box - having to use virtio-gpu-pci, but still flatcar's qemu image doesn't have virtio gpu support. So, my last resort would be to, instead of using VNC to send commands to the VM, Packer could send them through UART.

Packer could allow sending boot commands through UART instead of VNC.

Potential References

https://qemu-discuss.nongnu.narkive.com/JazHBkGF/vnc-access-in-qemu-system-aarch64-binary

@retpolanne retpolanne changed the title Use UART for boot command Use serial for boot command Dec 21, 2023
@LIV2
Copy link
Contributor

LIV2 commented Mar 6, 2024

I am using this with qemu-system-aarch64 with no problems
I think the key is that I added the following to my source (and have no video devices added):

    qemuargs = [
        ["-monitor","none"]
    ]

This causes the VNC server to connect to the serial console rather than the monitor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants