v1.2 erreur dans le script du proxy
This commit is contained in:
parent
78c9636429
commit
4becc84b53
@ -197,12 +197,12 @@ class Homestead
|
|||||||
|
|
||||||
#Add proxy to environment
|
#Add proxy to environment
|
||||||
config.vm.provision 'shell' do |s|
|
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
|
end
|
||||||
|
|
||||||
#Add proxy to vagrant user
|
#Add proxy to vagrant user
|
||||||
config.vm.provision 'shell' do |s|
|
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
|
end
|
||||||
|
|
||||||
# Copy User Files Over to VM
|
# Copy User Files Over to VM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user