-
Notifications
You must be signed in to change notification settings - Fork 115
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
packer build
does not complete using builder-xenserver-iso
#31
Comments
Hi @lgw4, Have you tried removing the shutdown parameter: In which case you'll probably need to add a delay on the shutdown (to prevent it from leaving the connection in a hung state). |
Thanks for the quick reply, @rdobson. However, when I add a value for
I'm sure I'm missing something painfully obvious. |
Hmm, perhaps the docs could be clearer. That timeout is actually for how long packer should wait before it reports a failure to shutdown the VM. I.e. after its executed the command in question. Did you try removing the shutdown command from the template all together? |
Thanks again for the quick reply. I did, and I get this error:
|
Looks like SSH is not working when the VM is restarted:
Were you able to have a look at the console to see what was going on? Did the VM boot? Could you SSH in manually? (check the IP address Packer tried to connect to from the logs and make sure that hasn't changed too). |
First, I want to thank everyone involved with this project. I am so close to being able to automate my XenServer VM build process. However, after successfully building and shutting down the VM, the
packer build
process never completes. I'm running on Debian 8 with Go 1.3.3 linux/amd64. My target XenServer version is 6.2.packer build
output: https://gist.github.com/lgw4/83fa958b6f75823b6cc6Packer template: https://gist.github.com/lgw4/94de124dc60c961087d3
Kickstart file: https://gist.github.com/lgw4/34876ac51baff283050b
Thank you in advance for any ideas on how I can correct this.
The text was updated successfully, but these errors were encountered: