Chris Roberts
48d358adcb
Add winrm and upload commands
2018-10-04 13:26:41 -07:00
Jeremy Maness
a73fb9c139
- Filter out empty strings when constructing the list of network interfaces
...
- Sort interfaces properly whose name does not contain a numeric suffix (e.g. lo)
- Filter out loopback interfaces
2018-08-04 21:16:51 -04:00
Chris Roberts
c571249000
Support VirtualBox shared folders using builtin kernel module
...
Check error output if initial mount command fails to determine if
the builtin module should be used for mounting instead.
2018-05-07 13:02:19 -07:00
Chris Roberts
48275614cf
Add test coverage on helper method
2018-01-16 15:39:31 -08:00
Chris Roberts
b1c38c282e
Support SMB mount option overrides
2018-01-12 17:23:00 -08:00
Chris Roberts
e85ef1655b
Always remove credentials file after mount attempts
2017-12-21 09:55:19 -08:00
Brian Cain
0ac26be4ef
( #8917 ) Fix shell_expand_guest_path capability
...
Prior to this commit, when the guest capability attempted to expand a
path with spaces it would quote the path passed in. However if the path
also had a relative path those quotes would end up making `printf`
ignore it and not properly expand the path fully. This commit updates
that to first escape the quotes of a path and then pass in the new path
to be expanded.
2017-08-25 10:02:36 -07:00
Brian Cain
2b8f7f67ea
Add unit tests for shell_expand_guest_path function
2017-08-15 09:33:29 -07:00
Chris Roberts
414184b76b
guests/rhel: Update network configuration
...
Properly detects NetworkManager on guest as well as devices controlled
by NetworkManager. Provides configuration option to enable/disbale
NetworkManager control on devices.
2017-04-26 13:15:33 -07:00
Chris Roberts
98b0ad1464
Fix linux guest mount smb capability
2017-03-24 13:42:51 -07: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
5482692127
guests/linux: Only match interfaces without special characters
2016-11-10 07:19:26 -08:00
Chris Roberts
dd7294b021
Merge pull request #7928 from chrisroberts/rsync/exclude-paths
...
synced_folders/rsync: Quote exclude paths
2016-10-26 07:16:15 -07:00
Chris Roberts
05c5aab92a
synced_folders/rsync: Escape exclude paths
2016-10-25 13:59:03 -07:00
Chris Roberts
fb4e4320b2
Remove `set -e` usage for better shell compatibility
2016-10-24 10:30:08 -07:00
Chris Roberts
a8970281ce
guests/linux: Properly sort interface name types
...
Add failing networking interface list sorting test with example
provided by #7883 . Update sorting logic to properly handle different
types and differing array lengths.
Fixes #7883
2016-10-10 10:22:19 -07:00
Chris Roberts
e2b18fc65d
guests/linux: Update network interface sorting implementation
...
Always pull ordered ethernet devices to the head of the list. Ensure
aliases are not included.
2016-10-04 17:25:00 -07:00
Chris Roberts
0300df09fb
guests/linux: Update constant name, freeze constant values
2016-09-30 12:11:54 -07:00
Chris Roberts
9f468d2626
guests/linux: Place ethernet devices at start of device list
2016-09-29 15:33:29 -07:00
Chris Roberts
a7537a6be0
Merge pull request #7726 from chrisroberts/fix/rsync-exclude
...
Ignore files excluded from sync on chown
2016-08-19 09:58:31 -07:00
Chris Roberts
dd6ad2fbf3
guests/linux: only use effective group ID when appropriate
2016-08-17 06:53:26 -07:00
Chris Roberts
185a7dfc2e
guests/rsync do not chown files excluded from sync
2016-08-16 15:13:19 -07:00
Chris Roberts
dd91269491
guests: Prevent ssh disconnect from causing error on halt
2016-08-12 13:25:39 -07:00
Chris Roberts
ce3329e184
guests/linux: Always order discovered network interfaces
2016-08-12 10:31:41 -07:00
hendrenj
41063204ca
added unit tests for .remove_public_key method in VagrantPlugins::GuestLinux::Cap
2016-07-19 11:45:46 -06:00
Seth Vargo
851eff1288
guests/linux: Ensure NFS retries when mounting
...
Fixes GH-7443
2016-06-19 14:34:33 -04:00
Seth Vargo
4418efd4a4
guests/general: Use require_relative in tests
2016-06-06 12:24:07 -04:00
Seth Vargo
6b1749a6fb
guests/linux: Add tests for port
2016-06-06 11:58:32 -04:00
Seth Vargo
3e2374ad38
guests/linux: Add tests for nfs_client_installed
2016-06-06 11:58:32 -04:00
Seth Vargo
837713c2d1
guests/linux: Mount NFS in one command
2016-06-06 11:58:32 -04:00
Seth Vargo
e2b7e28082
guests/linux: Update insert_public_key cap to be one command
2016-06-06 11:58:32 -04:00
Seth Vargo
0bd6d73a7f
guests/linux: Add tests for halt capability
2016-06-06 11:58:31 -04:00
Seth Vargo
d4159e4208
guests/linux: Add tests for choosing addressable IP
2016-06-06 11:58:31 -04:00
Mitchell Hashimoto
2875928b76
remove failing test that was brittle
2015-11-23 12:11:48 -08:00
Francesco
c66df8cd2c
Updating the test to see the changes to the mount pass parameter
2015-06-08 09:48:21 +01:00
Jeff Johnson
9d50f72df3
For SMB on Linux guests, specify the user's domain as a separate parameter to the mount command. This is more reliable than passing user@domain as the username. This is not needed for SMB on Windows guests as they expect the user@domain form.
...
This does not change how it is configured in the Vagrantfile.
Fixes #3620
2015-03-31 08:16:06 -07:00