Commit cd62d558 authored by Reimar Stier's avatar Reimar Stier

increase memory with custom configuration

parent 21632261
......@@ -4,12 +4,18 @@
require 'yaml'
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"
Vagrant.configure("2") do |config|
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 "public_network", ip: "192.168.178.240", bridge: "Intel(R) Wireless-AC 9260 160MHz", adapter: 3
config.vm.hostname = "devbox.devops.detss.corpintra.net"
# proxy configuration
......@@ -26,7 +32,7 @@ Vagrant.configure("2") do |config|
# configure VM settings and additional disks
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
vb.memory = CUSTOM_CONFIG["memory"] or "4096"
vb.cpus = 4
vb.name = BOX_NAME
......
---
memory: 16384
......@@ -11,3 +11,10 @@ Set-Item -Path Env:HTTP_PROXY -Value "http://127.0.0.1:3128"
echo $env:HTTP_PROXY
Get-Item -Path Env:HTTP_PROXY
```
* Python/Pip proxy in powershell
https://stackoverflow.com/a/41279459
Create %APPDATA%\pip\pip.ini
```
[global]
proxy = 127.0.0.1:3128
```
......@@ -15,3 +15,9 @@
```
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"
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/)
......@@ -4,3 +4,5 @@
```
chocolatey list -localonly
```
#### Update package
`choco update package`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment