Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Tony Gaetani tonygaetani

🏠
Working from home
Block or report user

Report or block tonygaetani

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tonygaetani
tonygaetani / Vagrantfile
Last active Aug 28, 2019 — forked from leifg/Vagrantfile
Add a second disk to system using vagrant
View Vagrantfile
config.vm.provider "virtualbox" do |v|
file_to_disk = './tmp/large_disk.vdi'
unless File.exist?(file_to_disk)
v.customize ['createhd', '--filename', file_to_disk, '--size', 500] # size is in MB
end
v.customize ['storageattach', :id, '--storagectl', 'SATAController', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk]
end
You can’t perform that action at this time.