Chris Roberts
b0fc6a06a1
Merge pull request #9294 from chrisroberts/e-smb
...
SMB synced folders enhancements
2018-01-12 15:02:08 -08:00
Brian Cain
c9e5a22bff
( #9062 ) Deprecate :paranoid in favor of :verify_host_key
...
As of `net-ssh` version 4.2.0, the key :paranoid has been deprecated in
favor of using :verify_host_key. This commit updates Vagrants ssh config
to use the new key, and deprecates the use of :paranoid.
2018-01-05 10:02:45 -08:00
Chris Roberts
6e4139acd3
Include configuration for smb synced folders
2018-01-03 09:40:52 -08:00
Chris Roberts
5b7714f542
Include macOS as valid host platform
2018-01-03 09:30:44 -08:00
Chris Roberts
3eeff59329
Use custom types and messages for errors
2018-01-02 14:36:28 -08:00
Chris Roberts
98ec1af30e
Add smb_start capability for darwin
2018-01-02 11:21:50 -08:00
Chris Roberts
5a607d9248
Clean up SMB related errors
2017-12-21 09:55:19 -08:00
Chris Roberts
00fa50c296
SMB enhancements
2017-12-21 09:55:19 -08:00
Chris Roberts
139a65e555
Format host address for rsync when IPv6
2017-07-31 15:44:37 -07:00
Brian Cain
4440056fff
( #8770 ) rsync-auto relative dirs from vagrantfile
...
Prior to this commit, rsync-auto would not properly rsync realtive dirs
outside the cwd if defined in the Vagrantfile. This commit updates that
to ensure that the command looks at the Vagrant config to ensure that
folder was intended to be rsync'd to the machine even if outside the
current working dir.
2017-07-14 09:26:10 -07:00
Brian Cain
b1548a2eb6
( #5160 ) Only rsync-auto current working dir with docker provider
...
Prior to this commit, when users invoked the `rsync-auto` command using
the docker provider with boot2docker, vagrant would rsync all known
containers using the boot2docker vm rather than the current working dir.
This commit updates that behavior to ensure that only the current
working dirs vagrant machines will be rsynced.
2017-07-06 15:05:42 -07:00
Yufan Lou
b8bad54ad9
Fix nil case
2017-06-16 11:22:56 +08:00
Yufan Lou
3b63e1f8b8
Add chomp to lookup gid
...
Fixes #8664
2017-06-10 15:15:43 +08:00
Chris Roberts
9f393fc1e0
Use uid/gid from mount_options if provided for synced folders.
...
This also extracts the gid/uid detection and upstart actions into
reusable module to provide consistent behavior.
2016-12-14 12:12:17 -08:00
Chris Roberts
05c5aab92a
synced_folders/rsync: Escape exclude paths
2016-10-25 13:59:03 -07:00
Chris Roberts
c59723e595
Merge pull request #7740 from chrisroberts/nfs/v4
...
Add NFSv4 warning and information
2016-08-19 10:19:34 -07:00
Chris Roberts
bbac718925
Add NFSv4 warning and information
2016-08-19 09:33:36 -07:00
Chris Roberts
185a7dfc2e
guests/rsync do not chown files excluded from sync
2016-08-16 15:13:19 -07:00
Chris Roberts
9e26e31a6b
Add generated private key options to rsync command
2016-08-11 13:00:37 -07:00
Chris Roberts
7ba4f2087b
Include LogLevel option within ssh command setup
2016-08-11 12:12:45 -07:00
Zack Train
cb70749bd8
redux of pr 7398 for ssh-agent key fix
2016-08-11 11:48:10 -07:00
Seth Vargo
571747be5e
Ensure space after last arg
2016-07-18 23:39:08 -04:00
Seth Vargo
8a5cf3b81a
Merge pull request #7012 from penguincoder/rsync-command-quoting
...
translate windows path
2016-07-18 22:05:39 -04:00
Seth Vargo
7f1947fec2
folders/rsync: Shellescape guest paths
...
This allows users to have spaces or other special characters in
destination paths on the guest.
2016-07-18 21:13:00 -04:00
Seth Vargo
e69211ab22
guests/arch: Add NFS capabilities
2016-07-18 21:12:55 -04:00
Seth Vargo
43538f68a4
Simpler
2016-06-06 19:47:25 -04:00
Andrew Coleman
95ab29b3db
only use controlmaster for non-windows platforms, resolves #6702
2016-02-10 22:44:54 -05:00
Andreas Reischuck
5647de8ba4
Add shell quotes to the reported rsync command line to make it readable.
2016-01-09 22:27:54 +01:00
Tony Arkles
795a7a3d23
Fix for problem where the host_info.ps1 script returns a string instead of a list of IPs
2015-12-17 14:40:50 -06:00
Mitchell Hashimoto
601f7d41e5
synced_folders/smb: use cred files [GH-4230]
2015-11-23 11:11:50 -08:00
Mitchell Hashimoto
45a8a5907f
synced_folders/rsync: SSH control for faster rsync
2015-11-20 10:48:59 -08:00
Mitchell Hashimoto
fbe10cf7f6
Merge pull request #6232 from mirthy/windows7-hostinfo
...
FIX: Use a .NET API call instead of a Win8+ cmdlet
2015-11-18 13:11:10 -08:00
Jeff Kwan
4b32744424
Use a .NET API call instead of a Win8+ cmdlet
...
The root cause is that Windows 7 doesn't have Get-NetIPAddress (
see:
https://stackoverflow.com/questions/19529442/gather-ip-address-information
)
but the change was to try and solve the bug that the VPN IP
addresses
aren't visible detailed
here:
https://support.microsoft.com/en-us/kb/2549091
Resolved using the
2nd solution
from
http://serverfault.com/questions/145259/powershell-win32-networkadapterconfiguration-not-seeing-ppp-adapter
2015-09-03 16:54:41 -04:00
Lonnie VanZandt
b897fd7365
Scrub Guest Paths for Windows Rsync leaving Dirty Paths for Winrm Mkdir
...
Windows offers no out-of-the-box rsync utility. By far, the most
commonly used external utilities for Windows rsync are built with the
GNU Cygwin libraries. The cost for this convenience is that rsync on
Windows has to be provided paths that begin “/cygdrive/c” rather than
“c:/“ like other Windows-API utilities. Compounding the situation,
rsync doesn’t create paths/to/sub/targets and so the vagrant plugin
code, when performing an rsync, is responsible for creating
intermediate directories in guest paths if there are any. Furthermore,
the mkdir utility in Windows is not another Cygwin utility like rsync
but the routine mkdir of Windows command.com. Therefore, while rsync
needs the /cygwin paths, mkdir uses the Windows paths. Later, the
chef_solo.rp provisioner running within the guest will expect to find
Windows-style paths in its solo.rb configuration file. Due to all this,
vagrant has to keep track of both the original, possibly dirty Windows
guest path and the cygwin-scrubbed guest path.
2015-08-18 10:56:13 -06:00
Mitchell Hashimoto
d5458247c7
update to latest listen
2015-07-09 11:18:36 -06:00
Mitchell Hashimoto
9596b7a46c
synced_folders/rsync-auto: don't crash if rsync command fails [GH-4991]
2015-07-09 11:11:58 -06:00
Mitchell Hashimoto
d95dad9a79
synced_folders/rsync: command help [GH-5868]
2015-07-09 10:58:45 -06:00
Mitchell Hashimoto
964f340f09
synced_folders/nfs: verify_installed option [GH-5269]
2015-07-09 10:24:40 -06:00
Mitchell Hashimoto
31448d126b
synced_folders/rsync: can set rsync_path [GH-3966]
2015-07-09 10:02:38 -06:00
Matt Wrock
ac9b0b7978
prefer ipv4 host address over ipv6 for smb synced folders
2015-06-05 06:19:58 -07:00
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