mirror of https://github.com/MISP/misp-vagrant
parent
39250bf897
commit
c589d991c3
|
@ -12,9 +12,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# please see the online documentation at vagrantup.com.
|
||||
|
||||
# Every Vagrant virtual environment requires a box to build off of.
|
||||
#config.vm.box = "ubuntu/artful64"
|
||||
config.vm.box = "fso/artful64"
|
||||
config.vm.provision :shell, path: "bootstrap.sh", args: "#{MISP_ENV}"
|
||||
# config.vm.box = "ubuntu/artful64"
|
||||
config.vm.box = "ubuntu/bionic64"
|
||||
config.vm.provision :shell, path: "bootstrap.sh", args: MISP_ENV.to_s
|
||||
|
||||
# Disable automatic box update checking. If you disable this, then
|
||||
# boxes will only be checked for updates when the user runs
|
||||
|
@ -45,8 +45,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
# the path on the guest to mount the folder. And the optional third
|
||||
# argument is a set of non-required options.
|
||||
disabled = true
|
||||
vm_name = "MISP - Ubuntu 17.10"
|
||||
if "#{MISP_ENV}" == "dev"
|
||||
vm_name = "MISP - Ubuntu 18.04"
|
||||
if MISP_ENV.to_s == "dev"
|
||||
disabled = false
|
||||
vm_name.concat(" - DEV")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue