vagrant/plugins/kernel_v1/config/vm_subvm.rb

27 lines
592 B
Ruby
Raw Normal View History

2012-04-18 05:12:27 +00:00
require "vagrant/util/stacked_proc_runner"
module VagrantPlugins
2012-06-15 01:49:20 +00:00
module Kernel_V1
2012-04-18 05:12:27 +00:00
# Represents a single sub-VM in a multi-VM environment.
class VagrantConfigSubVM
include Vagrant::Util::StackedProcRunner
attr_reader :options
def initialize
@options = {}
end
# This returns an array of the procs to configure this VM, with
# the proper version pre-pended for the configuration loader.
#
# @return [Array]
def config_procs
proc_stack.map do |proc|
["1", proc]
end
end
2012-04-18 05:12:27 +00:00
end
end
end