Máquina Virtual Magento U - Aviso:Falha de autenticação.Tentando novamente

magento.stackexchange https://magento.stackexchange.com//questions/76500

  •  13-12-2019
  •  | 
  •  

Pergunta

Eu apenas tentei 'vagar' a VM do Magento U e fiquei surpreso ao receber isso como resposta:

  Bringing machine 'default' up with 'virtualbox' provider...
    ==> 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: Adapter 2: hostonly
    ==> default: Forwarding ports...
        default: 22 => 2222 (adapter 1)
    ==> default: Running 'pre-boot' VM customizations...
    ==> 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 timeout. 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...

Isso funcionou bem antes, mas com o VirtualBox 5.0 e o Vagrant 1.7.4, de repente não há dados.Como posso fazer isso funcionar?

Foi útil?

Solução

Eu tentei várias coisas para consertar isso, mas fazer com que o Vagrant criasse uma nova chave foi o caminho a percorrer.

  1. Inicialize a máquina com a GUI habilitada.Adicione isto ao seu Vagrantfile:

    config.vm.provider :virtualbox do |vb|

    vb.gui = verdadeiro

  2. Faça login em sua máquina virtual a partir da GUI e execute estes comandos:

    mkdir -p /home/vagrant/.ssh

    wget --no-check-certificado https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub -O /home/vagrant/.ssh/authorized_keys

    chmod 0700 /home/vagrant/.ssh

    chmod 0600 /home/vagrant/.ssh/authorized_keys

    chown -R vagrant /home/vagrant/.ssh

O Vagrant irá gerar uma nova chave e você estará pronto para prosseguir.

https://superuser.com/a/745998/421272

Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange
scroll top