Skip to content

Files

Latest commit

 

History

History

vagrant

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Vagrant

Prerequisites

Please install the following:

General

  1. Install vagrant as per https://developer.hashicorp.com/vagrant/downloads
  2. Configure a provider
  3. Run vagrant up and then vagrant ssh

MacOS

brew cask install virtualbox
brew cask install vagrant

ARM hosts (Apple M1, and so on)

You'll need to use QEMU instead of VirtualBox to use Vagrant on ARM. The following instructions will assume an M1 Mac as the host:

  1. Install QEMU: brew install qemu
  2. Install the QEMU vagrant provider: vagrant plugin install vagrant-qemu
  3. Provision the VM with the provider: vagrant up --provider=qemu

Setting up

You can set up the Vagrant environment with just one command:

vagrant up

After successfull installation you can ssh to the virtual machine with:

vagrant ssh

NOTICE: The directory with fluentd-output-sumologic repository on the host is synced with /sumologic/ directory on the virtual machine.

Runing tests

You can run tests using following commands:

cd /sumologic
bundle install
bundle exec rake