diff --git a/builtin/myplugin/host/alwaystrue.go b/builtin/myplugin/host/alwaystrue.go index 815e30bfc..51e9901ee 100644 --- a/builtin/myplugin/host/alwaystrue.go +++ b/builtin/myplugin/host/alwaystrue.go @@ -39,7 +39,7 @@ func (h *AlwaysTrueHost) ParentsFunc() interface{} { } func (h *AlwaysTrueHost) Parents() []string { - return []string{} + return []string{"darwin", "bsd", "force", "host", "platform", "match"} } // HasCapabilityFunc implements component.Host diff --git a/internal/plugin/plugin.go b/internal/plugin/plugin.go index e864f4bc0..a82eb55c4 100644 --- a/internal/plugin/plugin.go +++ b/internal/plugin/plugin.go @@ -100,7 +100,6 @@ func (p *Plugin) SetParentPlugins(typ component.Type) { for _, pp := range p.ParentPlugins { parentComponents = append(parentComponents, pp.components[typ].Component) } - // TODO: set parent plugins pluginWithParent.SetParentPlugins(parentComponents) } } diff --git a/plugins/hosts/bsd/plugin.rb b/plugins/hosts/bsd/plugin.rb index 325246a83..107157675 100644 --- a/plugins/hosts/bsd/plugin.rb +++ b/plugins/hosts/bsd/plugin.rb @@ -6,7 +6,7 @@ module VagrantPlugins name "BSD host" description "BSD host support." - host("bsd", "myplugin") do + host("bsd") do require File.expand_path("../host", __FILE__) Host end