Avoir du temps réel dur résoudre celui-ci:Vagrant - par défaut: Méthode SSH auth: clé privée Délai
Je suis en train de 'errante up' et tout semble ok jusqu'à atteindre un point:
==> default: The cookbook path 'C:/home/webs/cookbooks' doesn't exist. Ignoring...
==> 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: 80 (guest) => 8081 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (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
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.
Configurations:
Vagrant 1.8.7
plugins:
vagrant-berkshelf (5.1.1)
vagrant-hostmanager (1.8.5)
vagrant-share (1.1.6, system)
vagrant-triggers (0.5.3)
vagrant-vsphere (1.12.0)
utilisant:
Oracle Virtual Box v5.1.8
Chef v1.1.16
Windows-7
Ce que j'ai essayé jusqu'à présent:
- vérifier si la virtualisation est activée.
- supprimez les dossiers suivants: [.vagrant.d, .VirtualBox] [entrez la description de l'image ici] 1 et réinstallez tous les plugins.
- exécutez avec gui défini sur true, et je ne vois aucun dossier .ssh à l'intérieur.
- Éteint le pare-feu.
J'ai d'autres ordinateurs qui ont les mêmes versions et fonctionnent très bien. Donc je peux comparer. mais je n'ai plus aucune idée comment continuer à partir d'ici ...
son bizarre vous n'avez pas un dossier '.ssh' dans votre machine virtuelle - vous devriez avoir le dossier et un fichier authorized_keys. parfois il y a une erreur avec la permission, mais vagabond devrait pousser le fichier –