From 9599024fa5e8b71de1ae0cdddadbb791fac347d5 Mon Sep 17 00:00:00 2001 From: sophia Date: Wed, 25 Aug 2021 13:59:39 -0500 Subject: [PATCH] Don't setup paths for remote environment --- lib/vagrant/environment/remote.rb | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/vagrant/environment/remote.rb b/lib/vagrant/environment/remote.rb index 964af6086..4f73dec32 100644 --- a/lib/vagrant/environment/remote.rb +++ b/lib/vagrant/environment/remote.rb @@ -76,13 +76,20 @@ module Vagrant client.target(name) end + def setup_home_path + # no-op + # Don't setup a home path in ruby + end + + def setup_local_data_path(force=false) + # no-op + # Don't setup a home path in ruby + end + # The {MachineIndex} to store information about the machines. # # @return [MachineIndex] def machine_index - # When starting up in server mode, Vagrant will set the environment - # client to the value `:stub`. So, check that we have an actual - # CommandServe::Client::Project by checking for a client @machine_index ||= Vagrant::MachineIndex.new(client: client.target_index) end