From 4becc84b5354f08a09bbb9ec9a5b0074e6479e81 Mon Sep 17 00:00:00 2001 From: "jm.dupuy" Date: Thu, 13 Jun 2024 11:23:51 +0200 Subject: [PATCH] v1.2 erreur dans le script du proxy --- scripts/homestead.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/homestead.rb b/scripts/homestead.rb index 3be5847..386ddd1 100644 --- a/scripts/homestead.rb +++ b/scripts/homestead.rb @@ -197,12 +197,12 @@ class Homestead #Add proxy to environment config.vm.provision 'shell' do |s| - s.inline = "sudo echo 'http_proxy http://10.121.38.1:8080' >> /etc/environment ; sudo echo 'https_proxy http://10.121.38.1:8080' >> /etc/environment ; sudo echo 'no_proxy localhost,127.0.0.1' >> /etc/environment ; sudo echo 'HTTP_PROXY http://10.121.38.1:8080' >> /etc/environment ; sudo echo 'HTTPS_PROXY http://10.121.38.1:8080' >> /etc/environment ; sudo echo 'NO_PROXY localhost,127.0.0.1' >> /etc/environment" + s.inline = "sudo echo 'http_proxy=http://10.121.38.1:8080' >> /etc/environment ; sudo echo 'https_proxy=http://10.121.38.1:8080' >> /etc/environment ; sudo echo 'no_proxy localhost,127.0.0.1' >> /etc/environment ; sudo echo 'HTTP_PROXY=http://10.121.38.1:8080' >> /etc/environment ; sudo echo 'HTTPS_PROXY=http://10.121.38.1:8080' >> /etc/environment ; sudo echo 'NO_PROXY=localhost,127.0.0.1' >> /etc/environment" end #Add proxy to vagrant user config.vm.provision 'shell' do |s| - s.inline = "sudo echo 'export http_proxy http://10.121.38.1:8080' >> /home/vagrant/.bashrc ; sudo echo 'export https_proxy http://10.121.38.1:8080' >> /home/vagrant/.bashrc" + s.inline = "sudo echo 'export http_proxy=http://10.121.38.1:8080' >> /home/vagrant/.bashrc ; sudo echo 'export https_proxy=http://10.121.38.1:8080' >> /home/vagrant/.bashrc" end # Copy User Files Over to VM