Hi John, >From what I know about packer, packer builds a VM in 3 phases,
builders provisions post-processors See https://www.packer.io/intro/getting-started/vagrant.html In the builders phase, packer boots from an ISO image, and runs build commands. In this phase, you add vagrant user and add the /etc/sudoers.d/vagrant file. Packer stops the VM and then starts the VM in the provisioners phase. Here is where you probably want to run your ansible commands. Given that this is a group about vagrant (and not packer) I would suggest you include the command you are using to run packer (which runs vagrant) and provide the output. Perhaps most of us haven't used packer and vagrant together before. Dennis -- 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/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" 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/vagrant-up/60cddc1f-d363-4766-a23a-8a4fb55c030e%40googlegroups.com.
