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
25d09e02
Commit
25d09e02
authored
Aug 02, 2019
by
Reimar Stier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
define proxy
parent
5188f6f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
Vagrantfile
Vagrantfile
+8
-5
proxy.sh
proxy.sh
+5
-0
No files found.
Vagrantfile
View file @
25d09e02
...
@@ -11,22 +11,25 @@ DISKS = [
...
@@ -11,22 +11,25 @@ DISKS = [
"port"
=>
2
},
"port"
=>
2
},
]
]
HTTP_PROXY
=
"http://192.168.200.1:3128"
BOX_NAME
=
"devbox"
Vagrant
.
configure
(
"2"
)
do
|
config
|
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
"geerlingguy/debian10"
config
.
vm
.
box
=
"geerlingguy/debian10"
config
.
vm
.
network
"private_network"
,
ip:
"1
0.10.0.2
"
,
adapter:
2
config
.
vm
.
network
"private_network"
,
ip:
"1
92.168.200.4
"
,
adapter:
2
config
.
vm
.
hostname
=
"devbox.devops.detss.corpintra.net"
config
.
vm
.
hostname
=
"devbox.devops.detss.corpintra.net"
# require additional vagrant plugins
# require additional vagrant plugins
#
config.disksize.size = "20GB"
config
.
disksize
.
size
=
"20GB"
config
.
proxy
.
http
=
"http://yourproxy:8080"
config
.
proxy
.
http
=
HTTP_PROXY
config
.
proxy
.
https
=
"http://yourproxy:8080"
config
.
proxy
.
https
=
HTTP_PROXY
config
.
proxy
.
no_proxy
=
"localhost,127.0.0.1"
config
.
proxy
.
no_proxy
=
"localhost,127.0.0.1"
config
.
vm
.
provider
"virtualbox"
do
|
vb
|
config
.
vm
.
provider
"virtualbox"
do
|
vb
|
vb
.
memory
=
"4096"
vb
.
memory
=
"4096"
vb
.
cpus
=
4
vb
.
cpus
=
4
vb
.
name
=
"devbox"
vb
.
name
=
BOX_NAME
# Adding a SATA controller that allows 4 hard drives
# Adding a SATA controller that allows 4 hard drives
vb
.
customize
[
'storagectl'
,
:id
,
'--name'
,
'SATA Controller'
,
'--add'
,
'sata'
,
'--portcount'
,
4
]
vb
.
customize
[
'storagectl'
,
:id
,
'--name'
,
'SATA Controller'
,
'--add'
,
'sata'
,
'--portcount'
,
4
]
...
...
start
.sh
→
proxy
.sh
View file @
25d09e02
export
http
s_proxy
=
http://127.0.
0.1:3128
export
http
_proxy
=
http://192.168.20
0.1:3128
export
http
_proxy
=
http://127.0.0.1:3128
export
http
s_proxy
=
"
$http_proxy
"
export
VAGRANT_HTTP_PROXY
=
"
$http_proxy
"
export
VAGRANT_HTTP_PROXY
=
"
$http_proxy
"
vagrant up
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