Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 479 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 479 Bytes

vagrant-consul

Spins up 3 consul server & 2 client and joins them together.

Prerequisite

  • vagrant installed
  • packer installed
  • consul

Usage

Build the vagrant boxes using packer

cd packer
packer build -force -only base.vagrant.base .
make

This may take some time

Now create your machines by running vagrant up in the root directory.

cd ..
vagrant up

For logs

vagrant ssh consul_(server|client)
journalctl -u consul