MISP / misp-vagrant

Deploy MISP Project software with Vagrant.
BSD 2-Clause "Simplified" License
42 stars 17 forks source link

Unable to launch Vagrant machine; box fso/artful64 cannot be found #9

Open jahshuah opened 6 years ago

jahshuah commented 6 years ago

fso/artful64 cannot be accessed (by mere mortals, I assume 😏). Is that a private box, and can it be made available? Also could we just switch to ubuntu/artful64? Would stuff work?

jahshuah commented 6 years ago

Changed to ubuntu/artful64 in Vagrantfile and it worked like a champ. Is fso/artful64 local to one of the devs?

rel-csis commented 6 years ago

The problem is more likely that 17.10 is EOLed. It worked until recently, so it's probably just taken down.

Afaict the distribution needs to be changed to something more recent, maybe even an LTS release for simplicity? There's a bit more in the Vagrantfile relating to 17.10 than just the distribution, doesn't look like anything is breaking though.

joesecurity commented 5 years ago

ubuntu/artful64 is not available anymore. We got it working with the following:

Vagrantfile:

-config.vm.box = "fso/artful64
+config.vm.box = "ubuntu/bionic64"

-vm_name = "MISP - Ubuntu 17.10"
+vm_name = "MISP - Ubuntu 18.04"

bootstrap.sh:

-PHP_INI=/etc/php/7.1/apache2/php.ini
+PHP_INI=/etc/php/7.2/apache2/php.ini

-apt-get install -y libapache2-mod-php php php-cli php-crypt-gpg php-dev php-json php-mysql php-opcache php-readline php-redis php-xml > /dev/null
+apt-get install -y libapache2-mod-php php php-cli php-dev php-json php-mysql php-opcache php-readline php-redis php-xml php-redis > /dev/null

This is probably not enough (e.g. no replacement for php-crypt-gpg) but a good start.