読者です 読者をやめる 読者になる 読者になる

のねのBlog

パソコンやソフト開発で起きた問題など書きます。よろしくお願いします。

C:\HashiCorp\Vagrant>vagrant box add maxx/ubuntu16
==> box: Loading metadata for box 'maxx/ubuntu16'
    box: URL: https://atlas.hashicorp.com/maxx/ubuntu16
This box can work with multiple providers! The providers that it
can work with are listed below. Please review the list and choose
the provider you will be working with.

1) hyperv
2) virtualbox

Enter your choice: 1
==> box: Adding box 'maxx/ubuntu16' (v0.4) for provider: hyperv
    box: Downloading: https://atlas.hashicorp.com/maxx/boxes/ubuntu16/versions/0.4/providers/hyperv.box
    box: Progress: 100% (Rate: 1982k/s, Estimated time remaining: --:--:--)
==> box: Successfully added box 'maxx/ubuntu16' (v0.4) for 'hyperv'!
C:\HashiCorp\Vagrant>vagrant box list
hashicorp/precise64 (hyperv, 1.1.0)
maxx/ubuntu16       (hyperv, 0.4)
C:\HashiCorp\Vagrant>vagrant init maxx/ubuntu16
`Vagrantfile` already exists in this directory. Remove it before
running `vagrant init`.
C:\HashiCorp\Vagrant>vagrant up --provider=hyperv
Bringing machine 'default' up with 'hyperv' provider...
==> default: Verifying Hyper-V is enabled...
==> default: Box 'base' could not be found. Attempting to find and install...
    default: Box Provider: hyperv
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'base' (v0) for provider: hyperv
    default: Downloading: base
    default:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file /C:/HashiCorp/Vagrant/base