Update vagrantfile parsing for vagrantfile proto changes
This commit is contained in:
parent
053be35242
commit
21dec58ba6
@ -48,14 +48,14 @@ module VagrantPlugins
|
||||
machine_info = v.machine_config(mach, nil, nil)
|
||||
root_config = machine_info[:config]
|
||||
config = root_config.vm
|
||||
machine_configs << Hashicorp::Vagrant::MachineConfig.new(
|
||||
machine_configs << Hashicorp::Vagrant::VagrantfileComponents::MachineConfig.new(
|
||||
name: mach.to_s,
|
||||
box: config.box,
|
||||
provisioners: []
|
||||
)
|
||||
end
|
||||
|
||||
vagrantfile = Hashicorp::Vagrant::Vagrantfile.new(
|
||||
vagrantfile = Hashicorp::Vagrant::VagrantfileComponents::Vagrantfile.new(
|
||||
path: vagrantfile_path,
|
||||
raw: raw,
|
||||
current_version: Vagrant::Config::CURRENT_VERSION,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user