Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.53 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.53 KB

Vagrant Workbench Minions

Define a list of VMs you want to run and boot them in Vagrant. The vagrant-workbench "salt master" will take care of them.

Use

  1. Make sure you booted and completed steps of vagrant-workbench salt master
  2. Copy and edit minions.yml, the minions.yml.dist should be of help for the format to use.
  3. Boot it up; vagrant up
  4. On the salt vagrant workbench VM, you'll see the machines waiting to be added to the salt master.

Use on another machine

If you have more than the computer you work from available to you, you can make them use your vagrant-workbench using the following procedure.

The only limitation is that you should make sure that the [minions.yml](./minions.yml.dist) has no mounts entries, otherwise you would need to clone them manually.

To do this, make sure the other machine(s);

  • Has access to the same local network (i.e. behind same router)
  • Has Vagrant and VirtualBox installed
  • VirtualBox has host only networking enabled
  • Has a copy of this repository, with;
  • The file ../vagrant-workbench/.ip containing with your main computer LAN IP (e.g. 192.168.0.102). It might differ from what your main computer has; Port-forwarding should be in place.
  • Create a file in ../vagrant-workbench/.grains with the contents: level: workbench