I am running vagrant up command to connect to a VM and while running this command I get below mentioned error.
I tried several steps as to run it with gui mode ON, but GUI mode itself does not open anything.
while running this command an separate command promt opens and gets closed on its own. And after that I get below error. Can you anyone please give me some idea how can I fix this issues..
details:
OS : windows 7
steps followed are:
1. vagrant box add box1 c:/vmBoxFolder
- runs fine
2. vagrant init box1
- runs fine
3. vagrant up
- Fails
host file entries: 127.0.0.1 localhost ::1 localhost
ERROR :
C:\blog>vagrant up
[default] VM already created. Booting if its not already running...
[default] Running any VM customizations...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- ssh: 22 => 2222 (adapter 1)
[default] Cleaning previously set shared folders...
[default] Creating shared folders metadata...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] Failed to connect to VM!
Failed to connect to VM via SSH. Please verify the VM successfully booted
by looking at the VirtualBox GUI.
thanks, lucky.