-
Notifications
You must be signed in to change notification settings - Fork 6
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
Reinstate the pre-export hook to the original place and add a pre-tem… #8
base: master
Are you sure you want to change the base?
Conversation
@@ -184,8 +184,8 @@ func (self *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (pa | |||
new(common.StepProvision), | |||
new(xscommon.StepShutdown), | |||
&xscommon.StepExecuteHostScripts{ | |||
ScriptType: "pre-export", | |||
LocalScripts: self.config.PreExportHostScripts, | |||
ScriptType: "pre-template", |
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.
How about post-shutdown
? There are more steps between this and new(xscommon.StepConvertToTemplate),
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.
pre-template
would work if it were to be called right before the templating line. Of course this is mostly for Dinesh so I'm not blocking the current form
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.
I understand, I let Dinesh to comment since it's the place that he wanted previously. Maybe we need a post-shutdown and a pre-template (+ pre-export as before).
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.
I am ok with keeping it as pre-shutdown
i need the step before vifs are destroyed and converted to a template
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.
You mean post-shutdown?
Following up on this. Can we get this merged? |
Reinstate the pre-export hook to the original place and add a pre-template hook