I'm evaluating Vagrant for use in an upcoming Rails project.
I have installed VirtualBox and Vagrant in my Windows 7 Pro (SP1) system
per the instructions in "the book".
I've verified the installs by bringing up the VirtualBox GUI and getting
the Vagrant version # (1.7.2) from the console command "Vagrant --version".
But when I run the "two commands", I get:
C:\Users\Ken>vagrant init hashicorp/precise32
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
C:\Users\Ken>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'hashicorp/precise32' could not be found. Attempting to
find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'hashicorp/precise32' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/hashicorp/precise32"]
Error: Failed connect to atlas.hashicorp.com:443; No error
I notice that the "init" command is different on the "getting started" web
page (http://docs.vagrantup.com/v2/getting-started/index.html), which I
used in the above vs in "the book". When I try the book's version, I get
this variant on the error:
C:\Users\Ken>vagrant init precise64 http://file.vagrantup.com/precise64.box
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
C:\Users\Ken>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'precise64' could not be found. Attempting to find and
install.
..
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Adding box 'precise64' (v0) for provider: virtualbox
default: Downloading: http://file.vagrantup.com/precise64.box
default: Progress: 0% (Rate: 0curl:/s, Estimated time remaining:
--:--:--)
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Could not resolve host: (nil); Host not found
--
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].
For more options, visit https://groups.google.com/d/optout.