-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
#4305 causing Virtualbox builder to fail when typing boot command #4309
Comments
|
After some messing around, I've found that splitting the boot command into smaller chunks avoids the error: I've taken a peek at the I could be wrong, but it looks as though the efficiency improvements made in #4305 are not supported by the upstream Virtualbox code... There have been some recent changes to Of course, with the changes being so recent, the new code would not have made its way into the main binary releases yet. I'm not familiar with Virtualbox's development so I'm not sure if these changes will make their way into the next release for both the 5.0.x and 5.1.x branches any time soon. |
|
whoops, sorry about that |
|
@mwhooker No problem. Thanks for fixing so quickly. Might be worth keeping an eye on the upstream changes to see when you might be able to reintroduce. Alternatively raise a bug report with the Virtualbox team to try and push the fix mentioned in that 'todo' closer to the front of the queue. It's probably also worth keeping in mind that the next versions of Virtualbox will have that arbitrary rate-limit or delay between sending of scan codes... Let's hope that doesn't cause further issues! Thanks again. Dan |
Apologies if there is still work in progress here, but the latest merge of PR #4305 is causing my Virtualbox builds to break at the point when the boot command is sent.
My boot command looks like this:
Looking at the console it seems to be able to type the boot command up to
text ks=http://and then errorsFrom the log:
Reverting the changes made by #4305 to builder/virtualbox/common/step_type_boot_command.go fixed the problem for me.
Log output:
Template and scripts required to replicate the issue:
Note that this repo was originally created to demo another Packer issue - however it works to demonstrate this issue too.
Packer version: Packer v0.12.2.dev
I can reproduce the issue with Virtualbox versions 5.0.26, 5.0.30 and 5.1.12 so this doesn't appear to be confined to a specific release of Virtualbox.
I originally mentioned all this in #4290 as I thought that #4305 was trying to deal with this problem. However, I have followed @rickard-von-essen's instruction and opened a new issue as this was not related.
The text was updated successfully, but these errors were encountered: