On Tue, Oct 13, 2015 at 9:51 AM, James Scollard <[email protected]> wrote:
> ./create-images.sh: line 81: box: command not found

Hello

Seems you got an error

script run show:
./create-images.sh: line 81: box: command not found

you need to replace:

box add $SLAVE_IMAGE $SLAVE_IMAGE_URI

with

vagrant  box add --name $SLAVE_IMAGE $SLAVE_IMAGE_URI

I will recommend pass provider too

vagrant  box add --name $SLAVE_IMAGE --provider <someprovider> $SLAVE_IMAGE_URI


When you don't have provider, this is what the command give you in the console:
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'vivid/test64' (v0) for provider:     [nothing-here]


With provider you get
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'vivid/test64' (v0) for provider: virtualbox

---

full log:

z2-3:vagrant_z2-3 kikitux$ vagrant box add --provider virtualbox
--name vivid/test64
https://cloud-images.ubuntu.com/vagrant/vivid/current/vivid-se
rver-cloudimg-amd64-vagrant-disk1.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'vivid/test64' (v0) for provider: virtualbox
    box: Downloading:
https://cloud-images.ubuntu.com/vagrant/vivid/current/vivid-server-cloudimg-amd64-vagrant-disk1.box
==> box: Box download is resuming from prior download progress
==> box: Successfully added box 'vivid/test64' (v0) for 'virtualbox'!
z2-3:vagrant_z2-3 kikitux$ vagrant box list | grep test64
vivid/test64                   (virtualbox, 0)


alvaro.

-- 
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/CAHqq0eyWZ69wj4aguMR70cxxky4v%2BvGys3xDH7HuVUXX8M-N8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to