Merge pull request #3178 from cuberri/fix/master/tinycore-rsync_install
guests/tinycore: add rsync_install capability to tinycore guest
This commit is contained in:
commit
3053d71116
|
@ -0,0 +1,14 @@
|
|||
module VagrantPlugins
|
||||
module GuestTinyCore
|
||||
module Cap
|
||||
class RSync
|
||||
def self.rsync_install(machine)
|
||||
machine.communicate.tap do |comm|
|
||||
# do not sudo tce-load
|
||||
comm.execute("tce-load -wi rsync")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -20,6 +20,11 @@ module VagrantPlugins
|
|||
require_relative "cap/halt"
|
||||
Cap::Halt
|
||||
end
|
||||
|
||||
guest_capability("tinycore", "rsync_install") do
|
||||
require_relative "cap/rsync"
|
||||
Cap::RSync
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue