Update remote function name and setup
This commit is contained in:
parent
b243868ce9
commit
8f4bb571a5
@ -38,13 +38,7 @@ module Vagrant
|
||||
# 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
|
||||
if @client.class != Symbol
|
||||
machine_index_client = @client.machine_index
|
||||
@machine_index ||= Vagrant::MachineIndex.new()
|
||||
@machine_index.client = machine_index_client
|
||||
@machine_index
|
||||
end
|
||||
@machine_index
|
||||
@machine_index ||= Vagrant::MachineIndex.new(client: client.target_index)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@ -42,7 +42,7 @@ module Vagrant
|
||||
#TODO: get box from @client.get_box()
|
||||
@box = box
|
||||
@config = config
|
||||
@data_dir = @client.get_data_dir()
|
||||
@data_dir = @client.data_dir
|
||||
@vagrantfile = vagrantfile
|
||||
@guest = Guest.new(
|
||||
self,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user