Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vagrantsetup
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
devbox
vagrantsetup
Commits
6a5d8a9f
Commit
6a5d8a9f
authored
Dec 19, 2019
by
Reimar Stier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update proxy configration notes for powershell
parent
50e7bb67
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
Readme.md
Readme.md
+3
-1
Powershell_Environment.md
doc/Powershell_Environment.md
+13
-0
proxy.ps1
proxy.ps1
+4
-0
No files found.
Readme.md
View file @
6a5d8a9f
...
@@ -39,9 +39,11 @@ choco install windows\packages\desktop.config
...
@@ -39,9 +39,11 @@ choco install windows\packages\desktop.config
*
Configure squid proxy on windows host and change username in configuration file
*
Configure squid proxy on windows host and change username in configuration file
Copy files
\s
quid.conf C:
\S
quid
\e
tc
\s
quid
\s
quid.conf
Copy files
\s
quid.conf C:
\S
quid
\e
tc
\s
quid
\s
quid.conf
*
Restart Squid proxy using windows system service
*
Restart Squid proxy using windows system service
*
Configure vagrant to use the proxy
*
Configure vagrant to use the proxy
*
Powershell
`proxy.ps1`
*
Git-Bash
`source proxy.sh`
```
```
source proxy.sh
vagrant plugin install vagrant-proxyconf
vagrant plugin install vagrant-proxyconf
vagrant plugin install vagrant-disksize
vagrant plugin install vagrant-disksize
```
```
...
...
doc/Powershell_Environment.md
0 → 100644
View file @
6a5d8a9f
*
List environment variables
```
Get-Item -Path Env:
```
*
Setting variables
```
Set-Item -Path Env:HTTP_PROXY -Value "http://127.0.0.1:3128"
```
*
showing environment variables
```
echo $env:HTTP_PROXY
Get-Item -Path Env:HTTP_PROXY
```
proxy.ps1
0 → 100644
View file @
6a5d8a9f
Set-Item
-Path Env:HTTP_PROXY -Value
"http://127.0.0.1:3128"
Set-Item
-Path Env:HTTPS_PROXY -Value
"http://127.0.0.1:3128"
Set-Item
-Path Env:VAGRANT_HTTP_PROXY -Value
"http://127.0.0.1:3128"
Set-Item
-Path Env:VAGRANT_NO_PROXY -Value
"127.0.0.1"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment