Advertisement
Guest User

Vagrentfile

a guest
Apr 20th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3.  
  4. # http://img.sabotage.tech/README_sabotage_images.txt
  5. # http://crysol.github.io/recipe/2015-11-17/vagrant-vdi-virtual-disk-for-virtualbox.html
  6. VAGRANTFILE_API_VERSION = "2"
  7. HOME_DISK = "/opt/image.vdi"
  8.  
  9. Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  10. config.vm.box = "debian/wheezy64"
  11. config.ssh.username = "root"
  12. config.ssh.password = "sabotage"
  13.  
  14. config.vm.provider :virtualbox do |vb|
  15.  
  16. vb.customize ['storageattach', :id,
  17. '--storagectl', 'SATA Controller',
  18. '--port', 0,
  19. '--device', 0,
  20. '--type', 'hdd',
  21. '--medium', HOME_DISK]
  22.  
  23. vb.name = "sabotage-linux"
  24. # Customize the amount of memory on the VM:
  25. vb.memory = "4096"
  26. vb.cpus = 8
  27. end
  28.  
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement