Skip to content

Instantly share code, notes, and snippets.

@shimakyohsuke
Created January 7, 2016 11:50
Show Gist options
  • Save shimakyohsuke/3c795098975168f87e80 to your computer and use it in GitHub Desktop.
Save shimakyohsuke/3c795098975168f87e80 to your computer and use it in GitHub Desktop.
WindowsPowerShellでVCCW。VirtualBoxはv5.0.12
PS C:\vccw-2.19.0> vagrant -v
Vagrant 1.8.1
PS C:\vccw-2.19.0> vagrant up
Bringing machine 'vccw.dev' up with 'virtualbox' provider...
==> vccw.dev: Removing hosts
==> vccw.dev: No machine id, nothing removed from C:/WINDOWS/system32/drivers/etc/hosts
==> vccw.dev: Importing base box 'miya0001/vccw'...
==> vccw.dev: Matching MAC address for NAT networking...
==> vccw.dev: Checking if box 'miya0001/vccw' is up to date...
==> vccw.dev: Setting the name of the VM: vccw.dev
==> vccw.dev: Auto-generating node name for Chef...
==> vccw.dev: Fixed port collision for 22 => 2222. Now on port 2200.
==> vccw.dev: Clearing any previously set network interfaces...
==> vccw.dev: Preparing network interfaces based on configuration...
    vccw.dev: Adapter 1: nat
    vccw.dev: Adapter 2: hostonly
==> vccw.dev: Forwarding ports...
    vccw.dev: 22 (guest) => 2200 (host) (adapter 1)
==> vccw.dev: Checking for host entries
==> vccw.dev: adding to (C:/WINDOWS/system32/drivers/etc/hosts) : 192.168.33.10  vccw.dev  # VAGRANT: 8c8c449dbb3fc95730d8632e31ff866b (vccw.dev) / c8a7c7b1-3d48-4406-b3c4-d3a0948a7a10
==> vccw.dev: Running 'pre-boot' VM customizations...
==> vccw.dev: Booting VM...
==> vccw.dev: Waiting for machine to boot. This may take a few minutes...
    vccw.dev: SSH address: 127.0.0.1:2200
    vccw.dev: SSH username: vagrant
    vccw.dev: SSH auth method: private key
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment