Skip to content

Instantly share code, notes, and snippets.

@tduffield
tduffield / Vagrantfile
Last active January 2, 2016 02:49 — forked from leifg/Vagrantfile
file_to_disk = './tmp/large_disk.vdi'
Vagrant::Config.run do |config|
unless File.exist?(file_to_disk)
config.vm.customize ['createhd', '--filename', file_to_disk, '--size', 500 * 1024]
end
config.vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk]
# Your other Vagrantfile contents here.
@tduffield
tduffield / user_data.ps1
Last active December 29, 2015 01:39 — forked from binamov/user_data.ps1
Version of the script to make it work on CloudShare with port 5985 closed.
<powershell>
#####
#DON'T FORGET TO SET/CHANGE THE USERNAME/PASSWORD BELOW!!!!!!!!!!
#####
$user="opscode"
$password="opscode"