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
cd62d558
Commit
cd62d558
authored
Mar 12, 2021
by
Reimar Stier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
increase memory with custom configuration
parent
21632261
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
1 deletion
+34
-1
Vagrantfile
Vagrantfile
+7
-1
custom_config.yml
custom_config.yml
+2
-0
Powershell_Environment.md
doc/Powershell_Environment.md
+7
-0
Virtualbox.md
doc/Virtualbox.md
+6
-0
windows-run-commands.md
doc/windows-run-commands.md
+10
-0
Chocolatey.md
windows/Chocolatey.md
+2
-0
No files found.
Vagrantfile
View file @
cd62d558
...
@@ -4,12 +4,18 @@
...
@@ -4,12 +4,18 @@
require
'yaml'
require
'yaml'
DISKS
=
YAML
.
load_file
(
'disks/disks.yml'
)[
'storage_disks'
]
DISKS
=
YAML
.
load_file
(
'disks/disks.yml'
)[
'storage_disks'
]
if
File
.
exist?
(
'custom_config.yml'
)
CUSTOM_CONFIG
=
YAML
.
load_file
(
'custom_config.yml'
)
else
CUSTOM_CONFIG
=
{}
end
BOX_NAME
=
"devbox"
BOX_NAME
=
"devbox"
Vagrant
.
configure
(
"2"
)
do
|
config
|
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
ENV
[
"DEVBOX_BASE_BOX"
]
||
"geerlingguy/debian10"
config
.
vm
.
box
=
ENV
[
"DEVBOX_BASE_BOX"
]
||
"geerlingguy/debian10"
config
.
vm
.
network
"private_network"
,
ip:
ENV
[
"DEVBOX_IP"
]
||
"192.168.200.4"
,
adapter:
2
config
.
vm
.
network
"private_network"
,
ip:
ENV
[
"DEVBOX_IP"
]
||
"192.168.200.4"
,
adapter:
2
config
.
vm
.
network
"public_network"
,
ip:
"192.168.178.240"
,
bridge:
"Intel(R) Wireless-AC 9260 160MHz"
,
adapter:
3
config
.
vm
.
hostname
=
"devbox.devops.detss.corpintra.net"
config
.
vm
.
hostname
=
"devbox.devops.detss.corpintra.net"
# proxy configuration
# proxy configuration
...
@@ -26,7 +32,7 @@ Vagrant.configure("2") do |config|
...
@@ -26,7 +32,7 @@ Vagrant.configure("2") do |config|
# configure VM settings and additional disks
# configure VM settings and additional disks
config
.
vm
.
provider
"virtualbox"
do
|
vb
|
config
.
vm
.
provider
"virtualbox"
do
|
vb
|
vb
.
memory
=
"4096"
vb
.
memory
=
CUSTOM_CONFIG
[
"memory"
]
or
"4096"
vb
.
cpus
=
4
vb
.
cpus
=
4
vb
.
name
=
BOX_NAME
vb
.
name
=
BOX_NAME
...
...
custom_config.yml
0 → 100644
View file @
cd62d558
---
memory
:
16384
doc/Powershell_Environment.md
View file @
cd62d558
...
@@ -11,3 +11,10 @@ Set-Item -Path Env:HTTP_PROXY -Value "http://127.0.0.1:3128"
...
@@ -11,3 +11,10 @@ Set-Item -Path Env:HTTP_PROXY -Value "http://127.0.0.1:3128"
echo $env:HTTP_PROXY
echo $env:HTTP_PROXY
Get-Item -Path Env:HTTP_PROXY
Get-Item -Path Env:HTTP_PROXY
```
```
*
Python/Pip proxy in powershell
https://stackoverflow.com/a/41279459
Create %APPDATA%
\p
ip
\p
ip.ini
```
[global]
proxy = 127.0.0.1:3128
```
doc/Virtualbox.md
View file @
cd62d558
...
@@ -15,3 +15,9 @@
...
@@ -15,3 +15,9 @@
```
```
VBoxManage modifyvm "<VM name>" --natdnshostresolver1 on
VBoxManage modifyvm "<VM name>" --natdnshostresolver1 on
```
```
## Issues
Copy&Paste no longer working after update. Reinstall guest additions in guest system.
Check system service: "systemctl status vboxadd"
If necessary attach guest additions in virtualbox and reinstall them from mounted path in e.g. "/opt/VBoxGuestAdditions-6.0.10/init/vboxadd"
doc/windows-run-commands.md
0 → 100644
View file @
cd62d558
Useful list of commands for windows run dialog (Windowskey+R)
-
`shell:startup`
Opens explorer with startup folder (autostart)
-
`cmd`
Terminal
see also
[
Windows Run Commands Cheat Sheet
](
https://www.maketecheasier.com/cheatsheet/windows-run-commands/
)
windows/Chocolatey.md
View file @
cd62d558
...
@@ -4,3 +4,5 @@
...
@@ -4,3 +4,5 @@
```
```
chocolatey list -localonly
chocolatey list -localonly
```
```
#### Update package
`choco update package`
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