For the provisioners to run you need to implement a connect step and a provision step. Example: https://github.com/hashicorp/packer/blob/master/builder/virtualbox/iso/builder.go#L253 https://github.com/hashicorp/packer/blob/master/builder/virtualbox/iso/builder.go#L268
Post-processors I think will run as long as you return an artifact. Example: https://github.com/hashicorp/packer/blob/master/builder/virtualbox/iso/builder.go#L315 Is your code available somewhere? On 19 May 2018 at 17:41, CHUA Chee Wee <[email protected]> wrote: > Both the host and the VM are on Linux. > > So, a simple echo should work. > > -- > 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/13b11871-5d18-481b-b697-9b75905e88f8%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/13b11871-5d18-481b-b697-9b75905e88f8%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt_CCfObkeCiYBLS_sDxfAayuiYTFFLcmh-%3DgQi_SP3abA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
