-
Notifications
You must be signed in to change notification settings - Fork 189
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
Make kitchen package work #275
Conversation
Looks like there are still some failures with the linting from the Travis build - also would love to get testing for the newly introduced command as well. |
Fixed the lint errors and squashed |
instance.transport.connection(state).close | ||
box_name = File.join(Dir.pwd, instance.name + ".box") | ||
run("#{config[:vagrant_binary]} package --output #{box_name}") | ||
destroy(state) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary/desirable to destroy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The package command stops the machine, and I found testkitchen had trouble communicating with it if I re-ran vagrant up (ssh would keep failing). I'm not sure why.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh ok. Perhaps vagrant changes the state of the box. That's fair.
Hi! Would it be possible to customize the output filename in |
Hi there! Any news? |
I don't currently have the time to add more to this PR, but it seems like it would be a relatively easy change to make after it is merged. |
Sorry this one was overlooked for so long, I thought we still had some questions to answer but this is safe enough and we can extend later. |
Tested with the following config: