Some Vagrantfile to dev.
Example to Vagranfile_splunk
$ cd CURRENT/WORKDIR/VAGRANT
$ ls
Vagrantfile_splunk
$ VAGFILE=Vagrantfile_*
mv ${VAGFILE} ${VAGFILE%_*}
$ ls
Vagrantfile
$ vagrant up
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'