Seth Vargo
f9816d89d9
Merge pull request #4867 from malonecm/GH4201-ShowRSyncOutput
...
GH-4201: Added rsync__showoutput to display rsync output to console
2015-05-30 21:21:26 -07:00
Mitchell Hashimoto
808a86a918
Merge pull request #5175 from hdeheer/patch-1
...
synced/folders/rsync Add 'IdentitiesOnly=yes'
2015-02-24 10:06:24 -08:00
agreenbhm
a1f6bfb1f2
Update host_info.ps1
2015-02-18 11:53:03 -05:00
agreenbhm
2557e5f3f8
Update host_info.ps1
...
Changed method for getting IP addresses. Windows built-in VPN IP addresses do not appear in list using Get-WMIObject, causing shared folders to fail.
2015-02-17 13:04:54 -05:00
Hubert
7e5391c0f5
synced/folders/rsync Add 'IdentitiesOnly=yes'
...
Added IdentiesOnly=yes to avoid "Too Many Authentication Failures" error
2015-01-12 15:19:43 +01:00
Seth Vargo
d2874064f4
Use .key? instead of .has_key?
2015-01-05 18:29:01 -05:00
Chad Maloney
d2e1500c74
Review comments applied. Removed changelog. Changed showoutput to verbose.
2015-01-05 14:36:00 -06:00
Chad Maloney
1ed31afeba
GH-4201: Cleaned up some leftover junk I missed removing
2014-11-25 14:39:56 -06:00
Chad Maloney
cf784d5d3c
GH-4201: Split process output by line so prefix shows on each line. Also fixed localization reference.
2014-11-25 14:37:59 -06:00
Chad Maloney
5de3f30bb0
GH-4201: Added rsync__showoutput to display rsync output to console
2014-11-25 12:38:41 -06:00
Mitchell Hashimoto
fb5aefe41e
Merge pull request #4619 from dlundgren/master
...
Don't update the NFS exports file [GH-4148]
2014-10-23 09:21:20 -07:00
Mitchell Hashimoto
252d12de96
Merge pull request #4675 from mwrock/smb_config
...
use smb configured credentials from vagrantfile if available
2014-10-23 09:09:31 -07:00
Mitchell Hashimoto
59ebef7b4b
command/rsync-auto: proxy VMs work [GH-4067]
2014-10-22 16:25:59 -07:00
Mitchell Hashimoto
0e29dd5668
commands/rsync: handle proxy machines [GH-4066]
2014-10-22 16:17:39 -07:00
Matt Wrock
9671f00e3a
use smb username and password in synced_folders config if available instead of prompting
2014-10-20 22:05:56 -07:00
David Lundgren
8b40f2bb2d
Don't update the NFS exports file [GH-4148]
...
Wrapped the NFS export modification process with a check for when there
are not exports to be modified
2014-10-10 11:02:01 -05:00
Shawn Neal
220e4f23b2
Merge pull request #4209 from mwrock/smb_sync
...
adding smb sync folder implementation for windows guests addressing #3699
2014-10-07 08:19:26 -07:00
Mitchell Hashimoto
0d6cf9e25f
commands/rsync-auto: fix typo
2014-08-31 10:50:33 -07:00
Mitchell Hashimoto
a54f2dc539
command/rsync-auto: add --poll flag [GH-4392]
2014-08-31 09:54:37 -07:00
Matt Wrock
e64f84491e
adding smb sync folder implementation for windows guests addressing #3699
2014-08-11 00:07:21 -07:00
Mitchell Hashimoto
a08d9078da
commands/rsync-auto: check machine ID prior to sync [GH-4031]
2014-08-06 16:56:09 -07:00
Kalman Hazins
bb052366f7
Change symbols inside hashes to 1.9 JSON-like syntax
2014-05-22 12:35:12 -04:00
Mitchell Hashimoto
3c4e129fb8
synced_folders/rsync: dup arg list [GH-3864]
2014-05-20 19:24:06 -07:00
Mitchell Hashimoto
2a973df440
synced_folders/rsync: copy symlinks as real files [GH-3734]
2014-05-09 09:31:31 -07:00
Mitchell Hashimoto
92940a7c5d
synced_folders/nfs: allow disabling export [GH-3636]
2014-05-08 17:10:38 -07:00
Brian Pitts
4d90fdfec5
Check usability of nfs on host
2014-05-03 16:09:08 -05:00
Mitchell Hashimoto
90234dc32f
synced_folders/rsync: fix oddness on Windows
2014-04-28 14:49:33 -07:00
Mitchell Hashimoto
ac040102f9
Merge pull request #3544 from benesch/rsync-conservative-chown
...
synced_folders/rsync: only chown when necessary
2014-04-27 15:59:40 -07:00
Mitchell Hashimoto
77fb6d73b8
Merge pull request #3552 from benesch/rsync-auto-handle-interrupt
...
command/rsync-auto: properly exit on interrupt
2014-04-27 15:54:22 -07:00
Mitchell Hashimoto
df86b18263
Update CHANGELOG, fix tests
2014-04-27 15:53:31 -07:00
Nikhil Benesch
8fb49f10cc
command/rsync-auto: properly exit on interrupt
...
Currently, interrupting 'vagrant rsync-auto' once it's waiting for
filesystem events has no effect. Appears to be a deadlock related to
signal handlers in Ruby 2.0 [0].
Remove call to `thread.join` in signal handler. The handler doesn't
need to wait for `true` to be added to the queue; it just needs to
launch the thread.
[0]: https://bugs.ruby-lang.org/issues/7917
2014-04-26 16:24:25 -04:00
Brian.Clark
fb509ac8b7
Add ssh ProxyCommand functionality to rsync
2014-04-26 13:52:39 -04:00
Nikhil Benesch
2df36892dd
synced_folders/rsync: only chown when necessary [GH-3525]
...
Run remote rsync as root to guarantee that rsync can write to guestpath.
This obviates the need to chown the guestpath to the SSH user prior to
sync.
This brings a substantial speedup (2x on a moderately-sized shared
folder) and properly triggers filesystem notifications on only the files
changed by a given sync.
2014-04-25 15:00:12 -04:00
Mitchell Hashimoto
a47b85c8c4
synced_folders/rsync: add UserKnownHostsFile to /dev/null [GH-3511]
2014-04-21 20:39:48 -07:00
Mitchell Hashimoto
afd3f1ff43
synced_folders/nfs: can say functional is false explicitly
2014-04-21 20:37:14 -07:00
Mitchell Hashimoto
53017bccc8
command/rsync-auto: work with provisioner synced folders
2014-04-21 13:55:57 -07:00
Mitchell Hashimoto
c3e6c794cd
synced_folders/nfs: acquire process-level lock for export
2014-04-21 13:55:07 -07:00
Mitchell Hashimoto
ceb90c5aac
command/rsync-auto: proper require
2014-04-18 21:17:08 -07:00
Mitchell Hashimoto
88683221f4
synced_folders/rsync: force NIO4R_PURE
2014-04-14 10:18:50 -07:00
Mitchell Hashimoto
e972bbf32a
synced_folders/rsync: change wording on no paths watching
2014-04-11 14:56:35 -07:00
Brent Theisen
7b27fa31ce
Print message and exit rsync-auto immediately if there is nothing to watch.
2014-04-11 16:49:58 -05:00
Mitchell Hashimoto
83c38b9278
command/rsync-auto: use newer listen gem [GH-3249]
2014-04-09 09:48:11 -07:00
Mitchell Hashimoto
09a3409746
commands/rsync-auto: do an initial sync [GH-3327]
2014-04-09 09:09:42 -07:00
Mitchell Hashimoto
800cf7539b
synced_folders/rsync: don't crash if comm error during rsync-auto [GH-3419]
2014-04-09 08:58:56 -07:00
timcooper
1c12609fdb
Encapsulate path for smb powershell script
2014-04-07 17:45:29 +01:00
timcooper
902202aad9
Fixed typo in smb errors on error_key call
2014-04-07 17:21:24 +01:00
Mitchell Hashimoto
bb967265df
synced_folders/rsync: style
2014-04-05 09:05:39 -07:00
Steffen Müller
32f25b6a0d
synced_folders/rsync: enable override of default chmod flag
...
fixed new file creation to follow guest's umask on Windows by default
2014-04-05 11:11:55 +02:00
Mitchell Hashimoto
a1d9121852
synced_folders/smb: verify PowerShell v3 is running or later [GH-3257]
2014-04-02 09:45:42 -07:00
Mitchell Hashimoto
2e0142168e
synced_folders/rsync: set chmod flag by default on Windows [GH-3256]
2014-04-02 09:07:00 -07:00
Pierre Jacomet
4d4c85b944
Fix for HyperV provider fails when recreating shares on Vagrant reload #3353
2014-03-29 18:15:24 -07:00
Uwe Jäger
3dd03d7efc
Make shared folder type smb work for non-english windows
...
the grant "Everyone,Full" does not work on localized versions of windows, in German it is "Jeder" in Spanish "Todos". Also the net share command returns localized texts, so the -Match does not work for non-english Windows.
I could not test exactly that version, copied relevant bits from my modified lokal version.
2014-03-17 15:11:45 +01:00
Mitchell Hashimoto
862d9315ce
synced_folders/smb: hash ID so it is short enough [GH-3219]
2014-03-14 13:03:11 -07:00
Mitchell Hashimoto
56dd0e8531
synced_folders/rsync: don't watch excluded paths [GH-3159]
2014-03-12 19:40:18 -07:00
Mitchell Hashimoto
a6eafd6a12
synced_folders/rsync: execute rsync_post cap if it exists [GH-3163]
2014-03-12 18:43:59 -07:00
Mitchell Hashimoto
04a19e05ca
synced_folders/rsync: convert to proper unix-style path [GH-3086]
2014-03-09 18:22:00 -07:00
Mitchell Hashimoto
c8e02ddd78
synced_folders/rsync: rsync__auto options
2014-03-06 12:18:13 -08:00
Mitchell Hashimoto
d4511131b4
synced_folders/rsync: allow custom args [GH-3070]
2014-03-06 11:27:58 -08:00
Mitchell Hashimoto
c9623a2a3f
synced_folders/smb: ask for creds in prepare
2014-03-06 08:49:41 -08:00
Mitchell Hashimoto
46b5f0d22b
synced_folders/smb: set recursive ACL for folders
2014-03-06 08:30:04 -08:00
Mitchell Hashimoto
1724d499dc
synced_folders/smb: higher priority than things like NFS and rsync
2014-02-27 08:13:39 -08:00
Mitchell Hashimoto
41bc86c490
providers/hyperv: clean up provider since we moved out SMB
2014-02-27 08:13:08 -08:00
Mitchell Hashimoto
dd6f1083b0
synced_folders/smb: test for admin privileges
2014-02-27 08:13:07 -08:00
Mitchell Hashimoto
a50421c54c
synced_folders/smb: raise error if not windows
2014-02-27 08:13:06 -08:00
Mitchell Hashimoto
0fe4a4af26
synced_folders/smb: basically working
2014-02-27 08:13:05 -08:00
Mitchell Hashimoto
6b17783688
synced_folders/nfs: unavailable on Windows
2014-02-27 08:11:50 -08:00
Mitchell Hashimoto
5030a16f84
kernel/v2: default all configs properly, remove config/default.rb
2014-02-05 15:36:35 -08:00
Teemu Matilainen
ee2ae94c25
synced_folders/rsync: Install `rsync` on guest if needed
...
Add new `rsync_installed` and `rsync_install` guest capabilities
to detect and install `rsync`.
Also copy `rsync_pre` capability to all Unix guests.
2014-01-31 02:12:57 -03:00
Mitchell Hashimoto
c3d0903f85
synced_folders/rsync: output directory under watch for rsync-auto
2014-01-16 09:11:41 -08:00
Mitchell Hashimoto
8a1995bec9
synced_folders/rsync: make sure host path ends in "/"
2014-01-15 21:22:37 -08:00
Mitchell Hashimoto
73b72deb0a
synced_folders/rsync: convert path to cygpath on Windows
2014-01-15 21:13:08 -08:00
Mitchell Hashimoto
285bda7a68
synced_folders/nfs: don't nfs_prune on hosts that don't support it
2014-01-15 20:28:27 -08:00
Mitchell Hashimoto
4fab57576b
synced_folders/rsync: run hostpath through fs_real_path
...
This fixes issues with drive letter casing on Windows
2014-01-15 11:30:32 -08:00
Mitchell Hashimoto
526231812f
website/docs: better docs
2014-01-13 22:29:10 -08:00
Mitchell Hashimoto
04f1854840
synced_folders/rsync: unit tests for the callback, fix bug
2014-01-13 22:01:09 -08:00
Mitchell Hashimoto
fe2844ca59
synced_folders/rsync: rsync-auto command
2014-01-13 21:43:31 -08:00
Mitchell Hashimoto
c05a44face
synced_folders/rsync: pass --delete option to delete bad files
2014-01-13 11:40:46 -08:00
Mitchell Hashimoto
b4b62daf5c
synced_folders/rsync: expand host paths relative to root path
2014-01-13 11:34:49 -08:00
Mitchell Hashimoto
309d12a16b
synced_folders/rsync: `vagrant rsync` syncs the folders
2014-01-13 11:25:29 -08:00
Mitchell Hashimoto
59218ded68
synced_folders/rsync: move rsync logic out to helper
2014-01-13 11:01:50 -08:00
Mitchell Hashimoto
7b2a0716f1
synced_folders/rsync: warn if password auth
2014-01-10 20:37:11 -08:00
Mitchell Hashimoto
55b0dffd36
synced_folders/rsync: output what is being excluded
2014-01-10 18:06:16 -08:00
Mitchell Hashimoto
60f3d224c9
synced_folders/rsync: can exclude files
2014-01-10 18:01:38 -08:00
Mitchell Hashimoto
2e3fcf576c
synced_folders/rsync: allow guests to execute things before
2014-01-10 17:51:44 -08:00
Mitchell Hashimoto
38fbbb6c56
synced_folders/rsync: Initial commit working
2014-01-10 17:40:29 -08:00
Mitchell Hashimoto
9a58caaf9c
synced_folders/nfs: always prune [GH-2738]
2014-01-10 15:41:57 -08:00
Mitchell Hashimoto
91380c0650
synced_folders/nfs: automatically install NFS client if possible
...
If guests have the following capabilities, automatic NFS client
installation will be done:
* nfs_client_installed - Checks if the NFS client is installed
* nfs_client_install - Install the NFS client
Support is already in for Debian, Ubuntu, RedHat, CentOS, and Fedora
2014-01-09 16:58:20 -08:00
Mitchell Hashimoto
bdb88da743
hosts/bsd: convert to new style
2014-01-07 20:39:24 -08:00
Mitchell Hashimoto
f89c4412b2
synced_folders/nfs: lock around sudo input [GH-2680]
2013-12-30 14:45:40 -08:00
Mitchell Hashimoto
c1141dded3
providers/virtualbox: don't clear /etc/exports on BSDs for NFS [GH-2645]
2013-12-13 22:03:14 -08:00
Mitchell Hashimoto
d80f32c20f
synced_folders/nfs: allow plugins to provide valid NFS ids
2013-12-06 16:42:34 -08:00
Mitchell Hashimoto
2c65d247da
core: Allow options to be passed down into SF cleanup
2013-12-06 16:40:24 -08:00
Mitchell Hashimoto
76df3ced03
synced_folders/nfs: style
2013-12-06 15:07:55 -08:00
Emiliano Ticci
07bbca426e
NFS/VBox: remove dedicated cleanup action in favour of native routine.
2013-12-04 12:29:09 +01:00
Mitchell Hashimoto
23bdbd6fd8
synced_folders/nfs: specify nfs_udp false to disable udp [GH-2304]
2013-11-23 13:43:48 -08:00
Mitchell Hashimoto
0425d1712b
synced_folders/nfs: config goes here
2013-11-23 10:49:51 -08:00
Mitchell Hashimoto
22a5430068
synced_folders/nfs: use proper error classes
2013-11-22 17:18:08 -08:00
Mitchell Hashimoto
52fe93cc41
synced_folders/nfs: begin implementation (not functional)
2013-11-22 16:51:55 -08:00