by scriptnull · 5y ago · 0 comments
But one of my colleagues figured out that it is probably because the apt-get is getting locked due to cloud-init and removed the flakiness by making packer wait[1] for cloud-init to complete before running the installation scripts that involved apt-get locking.
We too wished that there were more docs to help us, especially explaining how apt-get worked.
[1] https://github.com/hashicorp/packer/issues/2639#issuecomment...
No comments yet.