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

Implement acceptance test for PXE booted vm resources #156

Open
ddelnano opened this issue Jun 23, 2021 · 0 comments
Open

Implement acceptance test for PXE booted vm resources #156

ddelnano opened this issue Jun 23, 2021 · 0 comments

Comments

@ddelnano
Copy link
Collaborator

In #155 I added PXE support to the VM resource. I wanted to have an acceptance test for this feature, however, my main testing environment's PXE menu defaults to "local boot". This means that the VM in the current test starts up and then fails to boot because it doesn't have an OS installed on its disk.

I wasn't able to find a way to automate selecting an option on the client (guest VM) side. It seems the boot menu is driven entirely on the PXE server. One way to work around this is to have the terraform acceptance test use a websocket based VNC client to navigate the PXE boot menu (pressing down arrow (<down>) and then selecting an option with <enter>). Most of this functionality already exists in the packer-plugin-xenserver repo, however, it still is slightly more of a time commitment to implement.

This GitHub issue will serve as a placeholder for returning to this work to unblock shipping the initial version of #155.

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

No branches or pull requests

1 participant