Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- mode: ruby -*-
- # vi: set ft=ruby :
- # http://img.sabotage.tech/README_sabotage_images.txt
- # http://crysol.github.io/recipe/2015-11-17/vagrant-vdi-virtual-disk-for-virtualbox.html
- VAGRANTFILE_API_VERSION = "2"
- HOME_DISK = "/opt/image.vdi"
- Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
- config.vm.box = "debian/wheezy64"
- config.ssh.username = "root"
- config.ssh.password = "sabotage"
- config.vm.provider :virtualbox do |vb|
- vb.customize ['storageattach', :id,
- '--storagectl', 'SATA Controller',
- '--port', 0,
- '--device', 0,
- '--type', 'hdd',
- '--medium', HOME_DISK]
- vb.name = "sabotage-linux"
- # Customize the amount of memory on the VM:
- vb.memory = "4096"
- vb.cpus = 8
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement