vagrant/Vagrantfile.helpers.rb
# Helper-Function to define a Vagrant VM with a specific box, version and memory
Helper-Function to define a Vagrant VM with a specific box, version and memory
Helper - Function to define a Vagrant VM with a specific box version and memory
def box(device:, hostname:, box:, box_version:, memory:)
    device.vm.hostname = hostname
    device.vm.box = box
    device.vm.box_version = box_version
    device.vm.provider :libvirt do |v|
      v.memory = memory
    end
end
def box ( device : , hostname : , box : , box_version : , memory : ) device . vm . hostname = hostname device . vm . box = box device . vm . box_version = box_version device . vm . provider :libvirt do | v | v . memory = memory end end
Helper-Function to define a Vagrant VM with a specific box, version and memory
Helper - Function to define a Vagrant VM with a specific box version and memory
device
hostname
box
box_version
memory