How do i add a vagrant box?



  • If you have a ready built vagrant VM, for instance an image built with packer vagrant post processor

    $ vagrant box add file:///home/ec2-user/packer/packer_amazon-ebs_aws.box  --name awsbox
    ==> box: Box file was not detected as metadata. Adding it directly...
    ==> box: Adding box 'awsbox' (v0) for provider:
        box: Unpacking necessary files from: file:///home/ec2-user/packer/packer_amazon-ebs_aws.box
    ==> box: Successfully added box 'awsbox' (v0) for 'aws'!
    


© Lightnetics 2024