p/s I was running Packer for Azure 

On Tuesday, March 20, 2018 at 10:19:56 AM UTC+11, Sim wrote:
>
> I want to clone a repository from the bitbucket into the temporary VM 
> which is generated during Packer build in order to run some scripts in that 
> repo. However, it failed to run git clone that repository without throwing 
> any errors or useful info (it just didn't work as later it could not find 
> the path of the repo), even though I have installed the Git before. 
>
> Just wondering if anyone knows any best way to clone a repository from 
> bitbucket to get the repository in Packer temp VM? My temporary solution is 
> to zip the required repository, transfer the zip folder to Packer and unzip 
> it to the right path, but this is really not ideal as we need to constantly 
> zip the repo whenever someone makes any changes in there. 
>
> 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/c56a49c4-d0ee-4d2c-a770-3591f9cc2866%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to