diff --git a/internal/config/basis.go b/internal/config/basis.go index 80e8b6828..4323d881a 100644 --- a/internal/config/basis.go +++ b/internal/config/basis.go @@ -14,7 +14,7 @@ type Basis struct { // These should _roughly_ map to existing Vagrantfile configurations Vagrant *Vagrant `hcl:"vagrant,block"` - Machines []*Machine `hcl:"machine,block"` + Targets []*Target `hcl:"target,block"` Communicators []*Communicator `hcl:"communicator,block"` Body hcl.Body `hcl:",body"` diff --git a/internal/config/project.go b/internal/config/project.go index 9c1218d12..5835e3efe 100644 --- a/internal/config/project.go +++ b/internal/config/project.go @@ -3,7 +3,7 @@ package config import ( "github.com/hashicorp/hcl/v2" - "github.com/hashicorp/vagrant/internal/server/proto/vagrant_server" + "github.com/hashicorp/vagrant-plugin-sdk/proto/vagrant_plugin_sdk" ) type Project struct { @@ -21,11 +21,11 @@ type Project struct { Remain hcl.Body `hcl:",remain"` path string - ref *vagrant_server.Ref_Project + ref *vagrant_plugin_sdk.Ref_Project config *Config } -func (p *Project) Ref() *vagrant_server.Ref_Project { +func (p *Project) Ref() *vagrant_plugin_sdk.Ref_Project { return p.ref }