Hi Zeus_Dev,

I think I understand why it's not working.

When you run the command 'vagrant up myproject' this command looks for a 
machine named myproject to start up.
If it doesn't find it, it looks for a Vagrantfile in the local directory 
(which I'm guessing is the original Vagrantfile).
So it starts up from the original box you used in your Vagrantfile.

if you uploaded your box to a Vagrant cloud, then you need to reference 
that box in a new Vagrantfile (not use the old one).

So let me be specific:

# old Vagrantfile (pretend your using bento/ubuntu-14.04 as base box to 
create your drupal server)
Vagrant.configure("2") do |config|
  config.vm.box = "bento/ubuntu-14.04"
  # you did all your provisioning in a script
end

# after you package the machine (lets say it's called 
zeus_dev/drupalproject)
# those project files should already be inside the box

# new Vagrantfile
Vagrant.configure("2") do |config|
  config.vm.box = "zeus_dev/drupalproject"
  config.vm.box_url = "https://vagrantcloud.com/put-the-url-of-the-box-here";
end

So inside a new directory, with a new Vagrantfile which references your 
vagrant-cloud box.
You can spin up a new machine (and it should already contain your drupal 
project files).

Remember, package takes a machine and turns it into a box. When you do 
'vagrant up' it takes a box and creates a machine.
I think what you did wrong is that you're not referencing correctly the box 
you created.

Hope that helps,

-- 
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/27e768e6-829e-474e-ae7b-f4c4b64409f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to