From 21dec58ba6cba55470d7d2419ebfa77588ce2bc8 Mon Sep 17 00:00:00 2001 From: sophia Date: Wed, 12 May 2021 14:56:52 -0500 Subject: [PATCH] Update vagrantfile parsing for vagrantfile proto changes --- plugins/commands/serve/service/internal_service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/commands/serve/service/internal_service.rb b/plugins/commands/serve/service/internal_service.rb index 757cf397c..1cd008e55 100644 --- a/plugins/commands/serve/service/internal_service.rb +++ b/plugins/commands/serve/service/internal_service.rb @@ -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,