Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

[Q] Vagrant image #122

Open
hiroyuki-sato opened this issue Dec 10, 2019 · 1 comment
Open

[Q] Vagrant image #122

hiroyuki-sato opened this issue Dec 10, 2019 · 1 comment

Comments

@hiroyuki-sato
Copy link
Contributor

Hello, developers.

I want to ask about the Vagrant image.
I executed vagrant init u9012063/p4xdp and vagrant up.
I got the following error and can't log in that image.

  • What is SSH username: vagrant?
  • Is this problem my environment-specific?

I can log in to another image (i.e. generic/alpine38) in the same environment.

vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'u9012063/p4xdp' version '0.0.1' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
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.

Environment

  • OS: CentOS7
  • VirtualBox: VirtualBox-6.0
  • vagrant: 2.2.6

Best regards.

@LarryDerHummer
Copy link

Hi, did you find a solution, workaround?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants