Last active
          January 9, 2017 20:24 
        
      - 
      
- 
        Save bbenson29/94e107a742d7ca178225b462c75f7c7d to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | SATA Controller | |
| ************************************************ | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config1| | |
| config1.vm.define "apt" do |a| | |
| a.vm.box = "geerlingguy/ubuntu1604" | |
| a.vm.hostname = "apt" | |
| a.vm.network "private_network", ip: "192.168.60.8" | |
| disk = './large_disk.vdi' | |
| a.vm.provider "virtualbox" do |vb| | |
| if not File.exist?(disk) | |
| vb.customize ['createhd', '--filename', disk, '--variant', 'Fixed', '--size', 1 * 1024] | |
| end | |
| vb.customize ['storageattach', :id, '--storagectl', 'SATAController', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', disk] | |
| end | |
| end | |
| end | |
| IDE | |
| ***************************************************** | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config1| | |
| config1.vm.define "apt" do |a| | |
| a.vm.box = "geerlingguy/ubuntu1604" | |
| a.vm.hostname = "apt" | |
| a.vm.network "private_network", ip: "192.168.60.8" | |
| disk = './large_disk.vdi' | |
| a.vm.provider "virtualbox" do |vb| | |
| if not File.exist?(disk) | |
| vb.customize ['createhd', '--filename', disk, '--variant', 'Fixed', '--size', 1 * 1024] | |
| end | |
| vb.customize [ "storageattach", :id, "--storagectl","IDE Controller", "--port", 1, "--device", 0, "--type", "hdd", "--medium", disk ] | |
| end | |
| end | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment