1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
require "vagrant/util/stacked_proc_runner"
module VagrantPlugins
module Kernel_V2
# Represents a single sub-VM in a multi-VM environment.
class VagrantConfigSubVM
include Vagrant::Util::StackedProcRunner
# Returns an array of the configuration procs in [version, proc]
# format.
#
# @return [Array]
attr_reader :config_procs
attr_reader :options
def initialize
@config_procs = []
@options = {}
end
def initialize_copy(other)
super
@config_procs = other.config_procs.clone
@options = other.options.clone
end
end
end
end
|