added fix for out of disk vagrant provision

This commit is contained in:
Ian A. M 2018-02-26 13:42:35 -07:00
parent 6a5d631c4f
commit 22fc24e01a
2 changed files with 11 additions and 1 deletions

View File

@ -60,7 +60,13 @@ gpg_key_id: ''
ssh_key_name: ''
```
Make sure VirtualBox, Vagrant and Ansible are installed, and then run:
Make sure VirtualBox, Vagrant and Ansible are installed.
Include this vagrant plugin to support resize of the start up disk:
vagrant plugin install vagrant-disksize
Then run:
vagrant up --provision zcash-build

4
Vagrantfile vendored
View File

@ -3,6 +3,10 @@
Vagrant.configure(2) do |config|
config.ssh.forward_agent = true
config.disksize.size = '16GB'
config.vm.provision "shell", inline: <<-SHELL
sudo resize2fs /dev/sda1
SHELL
config.vm.define 'zcash-build', autostart: false do |gitian|
gitian.vm.box = "debian/jessie64"
gitian.vm.network "forwarded_port", guest: 22, host: 2200, auto_correct: true