Smartos guest capabilities includes rsync_pre
This commit is contained in:
parent
31da3860e5
commit
330642fa42
|
@ -15,6 +15,10 @@ module VagrantPlugins
|
||||||
comm.execute("#{sudo} chown -R #{username} '#{folder_opts[:guestpath]}'")
|
comm.execute("#{sudo} chown -R #{username} '#{folder_opts[:guestpath]}'")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def self.rsync_pre(machine, folder_opts)
|
||||||
|
rsync_install(machine, folder_opts)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -45,6 +45,11 @@ module VagrantPlugins
|
||||||
require_relative "cap/rsync"
|
require_relative "cap/rsync"
|
||||||
Cap::RSync
|
Cap::RSync
|
||||||
end
|
end
|
||||||
|
|
||||||
|
guest_capability("smartos", "rsync_pre") do
|
||||||
|
require_relative "cap/rsync"
|
||||||
|
Cap::RSync
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue