Skip to content

Commit

Permalink
*: make default values the same for disks
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
  • Loading branch information
galexrt committed Jun 15, 2020
1 parent bb3e10c commit 7f84019
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ versions Print the "imporant" tools versions out for easie
| `VAGRANT_DEFAULT_PROVIDER` | `virtualbox` | Which Vagrant provider to use. Available are `virtualbox` and `libvirt`. |
| `BOX_OS` | `fedora` | Which set of Vagrantfiles to use to start the VMs, see [Different OS / Vagrantfiles](#different-os--vagrantfiles) section. |
| `BOX_IMAGE` | `""` (empty) | Override the VM box image used (only use for override purposes as the image is set based on the `BOX_OS` variable). |
| `DISK_COUNT` | `1` | Set how many additional disks will be added to the VMs. |
| `DISK_SIZE_GB` | `25` GB | Size of additional disks added to the VMs. |
| `DISK_COUNT` | `2` | Set how many additional disks will be added to the VMs. |
| `DISK_SIZE_GB` | `20` GB | Size of additional disks added to the VMs. |
| `MASTER_CPUS` | `2` Core | Amount of cores to use for the master VM. |
| `MASTER_MEMORY_SIZE_GB` | `2` GB | Size of memory (in GB) to be allocated for the master VM. |
| `NODE_CPUS` | `1` | Amount of cores to use for each node VM. |
Expand Down
2 changes: 1 addition & 1 deletion vagrantfiles/Vagrantfile_vars
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Disk setup
DISK_COUNT = ENV['DISK_COUNT'].to_s.strip.empty? ? 2 : ENV['DISK_COUNT'].to_i
DISK_SIZE_GB = ENV['DISK_SIZE_GB'].to_s.strip.empty? ? 10 : ENV['DISK_SIZE_GB'].to_i
DISK_SIZE_GB = ENV['DISK_SIZE_GB'].to_s.strip.empty? ? 20 : ENV['DISK_SIZE_GB'].to_i

# Resources
MASTER_CPUS = ENV['MASTER_CPUS'].to_s.strip.empty? ? 2 : ENV['MASTER_CPUS'].to_i
Expand Down

0 comments on commit 7f84019

Please sign in to comment.