teleport/vagrant
Gus Luxton 36bd5908a0
Merge pull request #3782 from jbritt1/patch-2
[DEPENDS ON #3781] Drop prerequisite from readme
2020-05-29 16:22:52 -03:00
..
opt Nicer built-in vagrant recipe 2017-01-27 17:25:44 -08:00
.gitignore Zero-config Vagrant environment with trusted clusters 2016-06-21 12:09:55 -07:00
docker.service User Manual 2016-03-18 12:56:59 -07:00
docker.socket User Manual 2016-03-18 12:56:59 -07:00
README.md Drop prerequisite from readme 2020-05-29 10:43:52 -04:00
teleport.service Use tighter permissions for /var/lib/teleport everywhere 2020-05-15 16:45:56 +00:00
Vagrantfile Auto install needed vagrant plugin 2020-05-29 10:41:48 -04:00

Vagrant

This directory contains scripts to create multiple Vagrant machines for experimenting with Teleport on multiple nodes.

There are two nearly identical Vagrantfiles: one for Virtualbox and another for KVM/Libvirt, they both share base.rb

Default Configuration

data/var contains pre-created contents of guest's /var/lib/teleport data/opt contains pre-created contents of guest's /opt/teleport (configuration)

Three machines are created, grouped in two clusters, cluster_a and cluster_b:

  • a-auth: CA+node+proxy for "cluster_a"
  • a-node: Standalone node for "cluster_a"
  • b-auth: CA+node+proxy for "cluster_b"

A reverse tunnels from cluster_a to cluster_b is created. This allows users of cluster_b to login into any machine of cluster_a.

How to use

Easy:

~: vagrant up

Then you need to vagrant ssh into a-auth and b-auth and on both CAs you need to create 'vagrant' user:

~: tctl users add