diff --git a/README.md b/README.md index 505edd3..f5a8fed 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Fast Virtual Machine for Magento2 -[![vagrant](https://img.shields.io/badge/vagrant-debian:bullseye-blue.svg?longCache=true&style=flat-square&label=vagrant&logo=vagrant)](https://app.vagrantup.com/geerlingguy/boxes/debian11) +[![vagrant](https://img.shields.io/badge/vagrant-debian:bullseye-blue.svg?longCache=true&style=flat-square&label=vagrant&logo=vagrant)](https://app.vagrantup.com/geerlingguy/boxes/debian10) [![install-git](https://img.shields.io/badge/git-blue.svg?longCache=true&style=flat-square&label=setup&logo=git)](https://github.com/zepgram/magento2-fast-vm/blob/master/config.yaml.example) [![install-composer](https://img.shields.io/badge/composer-blue.svg?longCache=true&style=flat-square&label=setup&logo=composer)](https://github.com/zepgram/magento2-fast-vm/blob/master/config.yaml.example) [![mount](https://img.shields.io/badge/nfs/rsync-blue.svg?longCache=true&style=flat-square&label=mount)](https://github.com/zepgram/magento2-fast-vm/releases) @@ -222,13 +222,6 @@ Otherwise, you can also completely disable elasticsearch by installing this modu ## Issues -### Linux -On version 1.6.0, I updated the machine to debian 11 bullseye, since I personally got this error: -```shell -mount.nfs: Connection timed out -``` -Just fall back to default mount to avoid this issue, if you have any information about this issue please let me know. - ### Windows 10 There is a known [issue with composer installation](https://github.com/zepgram/magento2-fast-vm/issues/70) on windows 10.
This issue could not be solved yet, and has already been reported 2 times.
diff --git a/Vagrantfile b/Vagrantfile index 958ddfa..dcae50d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -37,7 +37,7 @@ end # Vagrant configure Vagrant.configure(2) do |config| # Virtual machine - config.vm.box = 'geerlingguy/debian11' + config.vm.box = 'geerlingguy/debian10' # Host manager configuration config.vm.define vmconf['host_name'] diff --git a/provision/020-system-services.sh b/provision/020-system-services.sh index 44228ce..655de39 100644 --- a/provision/020-system-services.sh +++ b/provision/020-system-services.sh @@ -110,7 +110,7 @@ rm -rf /home/vagrant/ssl && cd /home/vagrant # Nginx perl -ne 'if ( m|\#location.*php\$ \{| .. m|^\s*#\}| ) { s/#//g; } print' -i /etc/nginx/sites-available/default -sed -i "s|fastcgi_pass unix:/var/run/php/.*|fastcgi_pass unix:/var/run/php/php${PROJECT_PHP_VERSION}-fpm.sock;|" /etc/nginx/sites-available/default +sed -i "s|fastcgi_pass unix:/run/php/.*|fastcgi_pass unix:/run/php/php${PROJECT_PHP_VERSION}-fpm.sock;|" /etc/nginx/sites-available/default sed -i "s/With php-.*//" /etc/nginx/sites-available/default sed -i "s/fastcgi_pass 127.0.0.1:9000;//" /etc/nginx/sites-available/default sed -i 's/index index.html index.htm index.nginx-debian.html;/index index.php index.html index.htm index.nginx-debian.html;/' /etc/nginx/sites-available/default