Skip to content

Instantly share code, notes, and snippets.



Forked from leifg/Vagrantfile
Created Nov 11, 2020
What would you like to do?
Add a second disk to system using vagrant
file_to_disk = './tmp/large_disk.vdi' do |config| = 'base'
config.vm.customize ['createhd', '--filename', file_to_disk, '--size', 500 * 1024]
config.vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment