Closed iilyak closed 5 years ago
Thanks for this suggestion! The QEMU builder is community-supported, which means that the HashiCorp maintainers don't spend much engineering time on it. This means that the best way to see your suggestion make it into Packer is to open a PR.
One thing you can do is download a third party VNC viewer; I use jolly fast vnc, which doesn't have issues with passwordless VNC.
may be i can take this
@vtolstov Go for it if you want, I have a need for this at work so I've started coding a QMP based solution.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
I am trying to debug windows build on mac os using qemu builder using
hvf
accelerator. The specifics of Mac platform is thatsdl
is not available. Which means I have to useheadless
mode. Another specifics of Mac is that starting from Sierra the VNC client doesn't work if password is empty. Therefore I was trying to setup a VNC password. Packer doesn't support setting the password for VNC so I was looking for a workaround. I was able to start QEMU monitor on unix socket and change the password while packer was running. I am able to connect to VM via VMC. However now it is obvious to me that this approach will not work because packer looses the ability to control installation of the VM. Since it doesn't know the password.The feature request
Allow setting of VNC password via packer JSON file. Teach packer how to configure it via QEMU monitor or QMP.