Hi,

I am new to Packer. I created some Powershell scripts to download and 
install specific applications to the image that Packer is building. I have 
added these scripts to the provisioners section.
I have created a VM in Azure (Standard_NV6 - 
https://docs.microsoft.com/fr-fr/azure/virtual-machines/windows/sizes-gpu) 
- identical to the image built by Packer.

If I execute these scripts directly from the VM in Azure, the download time 
of the applications packages is as follow:

   - 1.3GB -> ~3 minutes
   - 3GB -> ~5 minutes
   - 6.6GB -> 13 minutes

The same scripts executed in the context of Packer:

   - 1.3GB -> ~20 minutes
   - 3GB -> ~44 minutes
   - 6.6GB -> ~100 minutes

How can this be improved? Is it a normal behavior?

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/f88342c1-0cbb-4dfb-a688-65ca92f622e2%40googlegroups.com.

Reply via email to