vagrantをCygwinでvagrant upを行うと以下のようになります.
vagarant upに必要な解決策をご教示ください.
以下vagrant upの実行結果
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: Forwarding ports... default: 22 => 2222 (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 refused. Retrying... ~~~~~~~~~~~~~~中略~~~~~~~~~~~~~~ default: Warning: Connection refused. 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.
- 状況
os: win7_64
box_os: CentOS7_x64
guiでは起動しログインできる.
sshができない
以下vagrant ssh-configの実行結果
Host default HostName 127.0.0.1 User vagrant Port 2222 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile C:/Users/kiitan/.vagrant.d/insecure_private_key IdentitiesOnly yes LogLevel FATAL
以下vagrant statusの実行結果
Current machine states: default running (virtualbox)
- 行った対策
- Intel(R) Virtualization Technology: Enabled
- Vagrantfileにconfig.vm.boot_timeout=60とかにしてみる
- ssh -i C:/Users/ユーザー名/.vagrant.d/insecure_private_key vagrant@127.0.0.1 -p 2222 やってみるもダメ
vagarant upに必要な解決策をご教示ください.
よろしくお願い致します.
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。