Smartos guest capabilities includes rsync_pre

This commit is contained in:
Eric Saxby 2014-03-11 01:25:08 -07:00
parent 31da3860e5
commit 330642fa42
2 changed files with 9 additions and 0 deletions

View File

@ -15,6 +15,10 @@ module VagrantPlugins
comm.execute("#{sudo} chown -R #{username} '#{folder_opts[:guestpath]}'")
end
end
def self.rsync_pre(machine, folder_opts)
rsync_install(machine, folder_opts)
end
end
end
end

View File

@ -45,6 +45,11 @@ module VagrantPlugins
require_relative "cap/rsync"
Cap::RSync
end
guest_capability("smartos", "rsync_pre") do
require_relative "cap/rsync"
Cap::RSync
end
end
end
end