Packer writes the state of the startup script to this instance metadata key, see https://github.com/hashicorp/packer/blob/master/builder/googlecompute/startup.go#L8
On Thu, Jul 25, 2019, 03:06 zhiyu zeng <leo.zhiyu.z...@gmail.com> wrote: > I want to wait for script action finished and I have tried searching but > could not find it. > > thanks. > > -- > 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/66f007c9-5f0b-4b48-97f6-4b87457afbe9%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/66f007c9-5f0b-4b48-97f6-4b87457afbe9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CALz9Rt8RUrOaBV-_zVy2KZR0sD3hkfX0%3DKCgMRZkbnSox5tukw%40mail.gmail.com.