Hey Dragon,

I was doing that on other builds but then, we have to wait for the instance
to come online before the extra drives are formatted and then wait while
the software gets installed to the various drives.

If we provision the drives and install the software in Packer, then the EC2
instance is ready much quicker as the stuff we need is baked into the image.

JJ

On Fri, 8 Nov 2019 at 18:28, dragon788 <[email protected]> wrote:

> In the past there have been some interesting quirks in Packer and Vagrant
> in Windows where the uploaded script file may not get updated between
> multiple steps, and formatting via unattend.xml or first boot/login scripts
> is tough to test across various providers and disk types.
>
> If you attach the volumes on boot and use the user data script to check
> the disks for uninitialized volumes and then initialize and format those
> would it accomplish the same goal?
>
> --
> 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/7f77bcdb-9001-4f5a-9303-6a270a3d7021%40googlegroups.com
> .
>

-- 
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/CABw%3D%3DwZ9A8OZNCEm2BDxn-C4YG2sZYK0h%3DqQipyrd1AR2MaALw%40mail.gmail.com.

Reply via email to