Using Vagrant to provision Powershell scripts onto a custom AMI using Packer
degan93 opened this issue · 1 comments
degan93 commented
Hello,
I have created a custom Windows AMI using Packer.
I am then trying to use Vagrant to provision more software (using Powershell scripts) onto the AMI.
Every time you run Vagrant, it always asks to specify a box file.
vm:
- A box must be specified.
Because I used Packer to create an AMI, it doesn't give you an actual box file, it only provides a custom AMI ID.
Is there a way to configure the Vagrant file to specify an AMI ID instead of a box file?
dragon788 commented
Did you follow the directions from the README to use the dummy
box name and supply the other AWS information?
https://github.com/mitchellh/vagrant-aws#quick-start