diff --git a/glpi/Vagrantfile b/glpi/Vagrantfile index cfe774c..e46f709 100644 --- a/glpi/Vagrantfile +++ b/glpi/Vagrantfile @@ -66,14 +66,17 @@ Vagrant.configure("2") do |config| # Ansible, Chef, Docker, Puppet and Salt are also available. Please see the # documentation for more information about their specific syntax and use. config.vm.provision "shell", inline: <<-SHELL +# export http_proxy=http://10.121.38.1:8080 +# export https_proxy=http://10.121.38.1:8080 timedatectl set-timezone Europe/Paris apt-get update export DEBIAN_FRONTEND=noninteractive - apt-get install -y vim wget curl git apache2 php php-mysql php-gd php-xml php-curl php-zip mariadb-server + apt-get install -y vim wget curl git apache2 php php-mysql php-ldap php-gd php-intl php-xml php-curl php-zip mariadb-server ( cd /var/www/html wget https://github.com/glpi-project/glpi/releases/download/10.0.7/glpi-10.0.7.tgz - tar xvfz glpi-10.0.7.tgz ) + tar xvfz glpi-10.0.7.tgz chown -R root:root glpi + cd glpi chown -R www-data:www-data files config )