W
W
WebforSelf2021-09-07 15:44:40
Vagrant
WebforSelf, 2021-09-07 15:44:40

Doesn't create image via vagrant?

Everything is trite, but why does not want to start.
Installed vagrant and virtual box on windows 10.
since Windows is home and there is no virtualization.

I found the image that I need

Through Powershell, I went to the project folder and, being in it

vagrant init generic/ubuntu2010
, a file is created in the directory and

PS E:\Ubuntu> vagrant init generic/ubuntu2010
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.


it's time to upgrade the vagrant
Virtualbox is clean and running, let's start.

PS E:\Ubuntu> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'generic/ubuntu2010' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'generic/ubuntu2010'
    default: URL: https://vagrantcloud.com/generic/ubuntu2010
==> default: Adding box 'generic/ubuntu2010' (v3.4.2) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/generic/boxes/ubuntu2010/versions/3.4.2/providers/virtualbox.box
    default:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Failure when receiving data from the peer
PS E:\Ubuntu>


The gist of his claim is

Failure when receiving data from the peer

which means
Failed to receive data from peer


I pull the images from here.

https://app.vagrantup.com/generic/boxes/ubuntu2010

Powershell running as admin, what else does a dog need?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akelsey, 2021-09-07
@akelsey

It is obvious that the problem is not in the vagrant, but in the Internet connection.

An error occurred while downloading the remote file.

I repeated your code, everything started fine.
613774a428594169350810.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question