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