Merge pull request #1075 from weaveworks/fons/test-vagrant-creation
Explain how to create the test VMs from vagrant
This commit is contained in:
commit
e0c7054f9b
1 file changed
+10
-2
+10
-2
@@ -6,13 +6,21 @@ You need two VMs with docker >=1.3.1 installed and listening on TCP
|
|||||||
port 2375 (see below). You also need to be able to ssh to these VMs,
|
port 2375 (see below). You also need to be able to ssh to these VMs,
|
||||||
preferably without having to input anything.
|
preferably without having to input anything.
|
||||||
|
|
||||||
The `Vagrantfile` in this directory constructs two such VMs. To meet
|
The `Vagrantfile` in this directory constructs two such VMs.
|
||||||
the aforementioned ssh requirement you may want to
|
|
||||||
|
To create the VMs, open a shell and in this directory and type
|
||||||
|
|
||||||
|
vagrant up
|
||||||
|
|
||||||
|
To meet the aforementioned ssh requirement you may want to
|
||||||
|
|
||||||
cp ~/.vagrant.d/insecure_private_key .
|
cp ~/.vagrant.d/insecure_private_key .
|
||||||
|
|
||||||
## Running tests
|
## Running tests
|
||||||
|
|
||||||
|
If you are [building weave using Vagrant](http://docs.weave.works/weave/latest_release/building.html),
|
||||||
|
it is recommended to run the tests from the build VM and not the host.
|
||||||
|
|
||||||
./setup.sh
|
./setup.sh
|
||||||
|
|
||||||
uploads the weave images from where the Makefile puts them
|
uploads the weave images from where the Makefile puts them
|
||||||
|
|||||||
Reference in new issue
Block a user