Bruno, Why not just download the vagrant key a la https://github.com/smerrill/docker-vagrant-ubuntu/blob/master/precise/Dockerfile#L48-L60 ?
On Friday, May 9, 2014 5:37:46 PM UTC-4, Bruno Sutic wrote: > > Hi, > I'm trying to set up better integration testing for the > capistrano<http://capistranorb.com/> project. > I'd like to enable running all the tests in vagrant with docker provider. > Hopefully that will enable running all the tests on TravisCI. > > Anyway, I'm first doing some dry runs with standalone vagrant-docker and > trying to get it to work properly. > Here's the 'files' I'm using: Vagrantfile <http://pastie.org/9160472>, > Dockerfile <http://pastie.org/9160474>. > > As you can see it's a very simple setup. Vagrant is expected to run docker > with 'ubuntu'. Also, ssh daemon is installed and run in the container. > > Here's the steps I run in the command line > $ vagrant up --provider=docker > ... lot of output, all goes well > $ vagrant ssh > # I get prompted for password here. why? > # enter password "vagrant" and I'm logged in > > The problem/question in the steps above is: why does vagrant prompt for a > password when the following is specified in `Vagrantfile`: > config.ssh.username = "root" > config.ssh.password = "vagrant" > > Shouldn't `vagrant ssh` just log me straight into the docker container? > As you can imagine, this prompt interruption does not really go hand in > hand with automatized testing I'd like to setup. > > Any help is appreciated! > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
