Hello, I have been using the boxcutter Ubuntu 16.04 desktop JSON file to generate images (https://github.com/boxcutter/ubuntu). The boxcutter JSON files work just fine out of the box. However, I noticed that when I went to change the user password ("ssh_password" in ubuntu.json) to something much longer, I started running into ssh handshake errors. As I changed the password length, I noticed that the points at which the image creation process failed would change as well. I started paying attention to the VM itself during installation (through VMWare Workstation), and observed that with the longer password, the boot options string (generated from my boot_commands array) was being truncated. For every character that I increase the password by, an additional character is left off of the boot option string. Once I reduce the password to a certain length (nine characters in my case), there is enough space for all of the boot commands to be entered, and the image is created successfully. I can't find anywhere that indicates that there is a hard cap on the number of characters in the boot options string, nor can I find any packer documentation that indicates an internal length limitation. As a result, I'm not sure what the underlying issue is, and could use some help if anyone has any suggestions.
-- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/f84c5e9d-62aa-43eb-921f-ebd4ea29758a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.