github.com/yimialmonte/fabric@v2.1.1+incompatible/vagrant/Vagrantfile (about)

     1  # Copyright IBM Corp All Rights Reserved
     2  #
     3  # SPDX-License-Identifier: Apache-2.0
     4  #
     5  # This vagrantfile creates a VM that is capable of building and testing
     6  # the fabric core.
     7  
     8  Vagrant.require_version ">= 1.7.4"
     9  Vagrant.configure('2') do |config|
    10    config.vm.box = "bento/ubuntu-18.04"
    11    config.vm.synced_folder "..", "/home/vagrant/go/src/github.com/hyperledger/fabric"
    12    config.ssh.forward_agent = true
    13  
    14    config.vm.provider :virtualbox do |vb|
    15      vb.name = "hyperledger"
    16      vb.cpus = 2
    17      vb.memory = 4096
    18    end
    19  
    20    config.vm.provision :shell, name: "essentials", path: "essentials.sh"
    21    config.vm.provision :shell, name: "srcdir", path: "srcdir.sh"
    22    config.vm.provision :shell, name: "docker", path: "docker.sh"
    23    config.vm.provision :shell, name: "golang", path: "golang.sh"
    24    config.vm.provision :shell, name: "limits", path: "limits.sh"
    25    config.vm.provision :shell, name: "softhsm", path: "softhsm.sh"
    26    config.vm.provision :shell, name: "user", privileged: false, path: "user.sh"
    27  end
    28  
    29  # -*- mode: ruby -*-
    30  # vi: set ft=ruby :
    31