Skip to content

alasta/vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vagrant

Some Vagrantfile to dev.

Usage

Example to Vagranfile_splunk

$ cd CURRENT/WORKDIR/VAGRANT

$ ls 
Vagrantfile_splunk

$ VAGFILE=Vagrantfile_*
mv ${VAGFILE} ${VAGFILE%_*}

$ ls
Vagrantfile

$ vagrant up

Vagrantfile_splunk

Setup a box with Splunk.
Need modify the path and RPM name of Splunk.
Aka :

  • vm1.vm.provision "file", source: "~/Downloads/splunk-8.0.6-152fb4b2bb96-linux-2.6-x86_64.rpm", destination: "/vagrant/"
  • sudo yum localinstall /vagrant/splunk-8.0.6-152fb4b2bb96-linux-2.6-x86_64.rpm -y

Replace with your network adapter :

  • vm1.vm.network "public_network", bridge: "en0: Wi-Fi (AirPort)", auto_config: false

Replace with your timezone :

  • timedatectl set-timezone 'Europe/Paris'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published