ssh_wait_timeout deprecated?

726 views
Skip to first unread message

tjoh...@clearpath.ai

unread,
May 10, 2018, 3:29:50 PM5/10/18
to Packer
I started experimenting with packerlicious to generate my templates at build time. 
In my use case, it gives me this error output:
AttributeError: vmware-iso object does not support attribute ssh_wait_timeout

However, I am able to run templates with this field set in my vmware-iso builder (and it seems to work - builds do not time out quickly while waiting for SSH).


What is the proper way to achieve this with the supported variables in Packer 1.2.3 (which packerlicious supports)?

My use case is this: boot from a custom debian netboot ISO, then reboot, THEN make SSH available to run provisioners from the template.

Rickard von Essen

unread,
May 10, 2018, 4:08:13 PM5/10/18
to packe...@googlegroups.com

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/48766041-574e-4952-9ec0-de10e14cf0ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tim Johnston

unread,
May 10, 2018, 5:03:22 PM5/10/18
to Packer
D'oh! Yep, that works..thanks for pointing it out.


On Thursday, May 10, 2018 at 4:08:13 PM UTC-4, Rickard von Essen wrote:
On 10 May 2018 at 21:29, <tjoh...@clearpath.ai> wrote:
I started experimenting with packerlicious to generate my templates at build time. 
In my use case, it gives me this error output:
AttributeError: vmware-iso object does not support attribute ssh_wait_timeout

However, I am able to run templates with this field set in my vmware-iso builder (and it seems to work - builds do not time out quickly while waiting for SSH).


What is the proper way to achieve this with the supported variables in Packer 1.2.3 (which packerlicious supports)?

My use case is this: boot from a custom debian netboot ISO, then reboot, THEN make SSH available to run provisioners from the template.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.

Dan Linder

unread,
May 24, 2018, 9:08:46 PM5/24/18
to Packer
Thanks for the pointer - bit me too.

Can I ask that "packer validate" flag deprecated options?  I have my build script run validate but it didn't catch the change from "ssh_wait_timeout" to "ssh_timeout".

Thanks,
Dan

On Thursday, May 10, 2018 at 3:08:13 PM UTC-5, Rickard von Essen wrote:
On 10 May 2018 at 21:29, <tjoh...@clearpath.ai> wrote:
I started experimenting with packerlicious to generate my templates at build time. 
In my use case, it gives me this error output:
AttributeError: vmware-iso object does not support attribute ssh_wait_timeout

However, I am able to run templates with this field set in my vmware-iso builder (and it seems to work - builds do not time out quickly while waiting for SSH).


What is the proper way to achieve this with the supported variables in Packer 1.2.3 (which packerlicious supports)?

My use case is this: boot from a custom debian netboot ISO, then reboot, THEN make SSH available to run provisioners from the template.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.

Megan Marsh

unread,
May 25, 2018, 12:28:15 PM5/25/18
to packe...@googlegroups.com
Hey Dan -- we've been talking about having Packer do that kind of validation automatically for every build. Right now, it's something you can do yourself by running "Packer fix yourconfig.json"
Reply all
Reply to author
Forward
0 new messages