Hi,
I am trying to build a custom box: centos 6.6. I have to use my own build (cannot download from atlas repo).
I am trying to do the basic here (in fast mode):
Install Centos 6.6 minimal on Virtual Box from the ISO cd file
Install couple RPMS e.g. git and apache
Create user vagrant and make it part of "wheel" group
Visudo wheel group so that it requires no password when doing SUDO to be super user
Disable the requiretty in visudo entry
Disable DNS lookup and make sure it looks at %h/.ssh/authorized_keys for sshd_config
chmod 0700 /home/vagrant/.ssh
chmod 0600 /home/vagrant/.ssh/authorized_keys
Package the box: vagrant package --base test-centos66
Add the box: vagrant box add test-centos66 package.box
Create a project dir, vagrant init test-centos66 and vagrant up
For some reason, I am having issue during boot at SSH login:
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
I can telnet to port 2222, something is listening there, but can't get SSH from it (usually it shows an SSH string when you telnet to the port)
I cannot ssh manually to port 2222 or 22.
I checked no firewall rule is running on the base box.
The box is running, I can login via console of Virtual Box. But I just cannot login via SSH and the vagrant up process has issue as shown above.
I turned off the master box where the base came from. So I only have 1 vbox running.
Host is windows 7, vagrant is 1.7.2, virtual box 4.3.28 r 100309
I was wondering if the problem is with the public key of the SSH or the route of port forward from 2222 to 22?
Any hints? Many thanks.