-
1. Re: Vagrant-virtualbox ssh authentication for CDK installation
doh Sep 27, 2016 11:31 AM (in response to ephriam.toh)There are a number of provisioning steps performed when Vagrant launches a virtual machine. These may come from plugins, such as the Vagrant Registration plugin for Red Hat, or from steps that are included in the Vagrantfile for provisioning the box on startup. Vagrant runs these commands by using SSH.
In many cases, errors during the provisioning step are not fatal, so the Vagrant box will still be running. Use the
vagrant status
command to see what the state of your box is. You can stop the Vagrant box with thevagrant halt
command. If the machine is running, you should be able to log into it using thevagrant ssh
command to examine the VM and see what went wrong.While the box is running, you can rerun the provisioning steps by running the
vagrant provision
command.Note that you need to be in the same directory where your Vagrantfile is. If you have lost track of where your Vagrantfile is, use the
vagrant global-status
command to list the boxes that you have started and the directory where the Vagrantfile and state is stored. -
2. Re: Vagrant-virtualbox ssh authentication for CDK installation
lalatendum Sep 29, 2016 2:03 AM (in response to doh)Are you using Vagrant version 1.5.0 as it is a known issue in that version of Vagrant. Please use Vagrant version mentioned in the "Vagrant compatibility matrix" in CDK documentation.