Chris Roberts
cef38eefd0
Add public key capability to Windows guests for winssh communicator
2017-07-07 11:26:32 -07:00
James Nugent
b0b9d044b5
guests/smartos: Add/fix various guest capabilities
...
This commit adds a variety of fixes for SmartOS guest support:
- Host name setting now works in the global zone and in non-global zones
- NFS now works in the global zone and the non-global zone.
- Tests are updated and moved to the (apparently) more modern style
2017-06-16 17:00:50 -04:00
Chris Roberts
60a438396f
Merge pull request #8588 from aligenttimaslat/bugfix/rsync_mkdir_on_windows
...
Fix a problem when using rsync folders on windows clients
2017-06-14 16:41:36 -07:00
James Nugent
b84acaed3c
guests/smartos: Add/fix various guest capabilities
...
This commit adds/changes the following for SmartOS guests:
- modifies the "Halt" capability to use /usr/sbin/poweroff in preference
to /usr/sbin/shutdown with parameters, and modifies the associated
test.
- adds an "InsertPublicKey" capability and tests.
- adds a "RemovePublicKey" capability and tests.
With this commit applied, the vast majority of typical Vagrant workflow
is available to SmartOS global zone guests (provided NFS mounts are used
rather than VMWare shared folders).
2017-05-30 15:18:18 +01:00
Tim Aslat
7f675d723c
Update unit test to match fix
2017-05-18 16:06:27 +09:30
Chris Roberts
c3ba13cd4d
Update capability tests to remove nmcli reload matching
2017-05-10 10:25:55 -07:00
Chris Roberts
1df852c88a
Reduce commands. Allow nm reload/restart to bring interfaces up.
...
Reduce the total number of commands run to configure interfaces. If
a service reload/restart is required, only execute it once instead
of once per device. When nm is managing a device, the explicit up
is not required.
2017-05-01 13:17:17 -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
38a5f7c873
Merge pull request #8310 from tsmolka/patch-guest-esxi
...
guests/esxi: Added public_key capability
2017-04-16 08:13:26 -07:00
Chris Roberts
21e195c75a
Merge pull request #7425 from tjuerge/6220-mount_shared_folder-via-ssh
...
Add support for mounting synched folders on windows guest via ssh
2017-04-05 15:11:32 -07:00
Chris Roberts
98b0ad1464
Fix linux guest mount smb capability
2017-03-24 13:42:51 -07:00
Chris Roberts
dbf01572ef
Merge pull request #8122 from chrisroberts/virtualbox/uid-gid
...
Use uid/gid from mount_options if provided for synced folders.
2017-03-06 14:21:11 -08:00
Tobias
d074ac7906
guests/esxi: Added public_key_test
2017-02-28 08:22:05 -08:00
Chris Roberts
0627e33652
Include test coverage on generated arch net config command
2017-02-09 17:41:44 -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
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
be3fa85853
Merge pull request #7921 from chrisroberts/fix/key-fixups
...
Remove `set -e` usage for better shell compatibility
2016-10-25 14:43:04 -07:00
Chris Roberts
365b98fee6
Merge pull request #7926 from chrisroberts/networking/rhel
...
guests/redhat: Force NetworkManager to reload device configurations
2016-10-25 14:41:07 -07:00
Chris Roberts
05c5aab92a
synced_folders/rsync: Escape exclude paths
2016-10-25 13:59:03 -07:00
Chris Roberts
c39b3fbb76
guests/openbsd: Check package installation after installing package
...
The `pkg_add` command will return `0` when a package requested for
installation is not found. This adds a validation check to ensure
the rsync package is actually installed on the guest.
2016-10-25 12:16:52 -07:00
Chris Roberts
67f3c8b48c
guests/redhat: Force NetworkManager to reload device configurations
...
When configuring network devices force NetworkManager to reload new
configuration files as they appear. This prevents NetworkManager from
attempting to continue managing devices on initial start up.
2016-10-25 07:45:38 -07:00
Chris Roberts
fb4e4320b2
Remove `set -e` usage for better shell compatibility
2016-10-24 10:30:08 -07:00
Chris Roberts
07ce1c6930
Merge pull request #7866 from chrisroberts/guest-linux/network-interfaces-sorting
...
guests/linux: Update network interface sorting implementation
2016-10-10 10:59:52 -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
Mark Peek
4bf32e3f6d
Fix typo (netmast => netmask) for Photon guest #7808
2016-10-07 12:32:21 -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
Chris Roberts
571659a5d1
guests/openbsd: include -h option on shutdown
...
For OpenBSD versions prior to 5.7 the `-h` option _must_ be provided
to the `shutdown` command when `-p` is used. Later versions no longer
require the `-h` option but still allow it for compatibility.
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin/shutdown/shutdown.8?rev=1.40&content-type=text/x-cvsweb-markup
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin/shutdown/shutdown.c?rev=1.40&content-type=text/x-cvsweb-markup
2016-08-10 09:14:08 -07:00
Jose Luis Duran
820607bbf6
Fix `authorized_keys` permissions for BSDs
...
This is an extension of a6760dd8e7
,
applied to BSD guests.
Related to #7610
2016-07-25 18:25:58 -03:00
hendrenj
41063204ca
added unit tests for .remove_public_key method in VagrantPlugins::GuestLinux::Cap
2016-07-19 11:45:46 -06:00
Colin Shea
b31b240c8c
Support installing synced folder clients on arch
2016-07-18 22:33:04 -04:00
Seth Vargo
1849990517
Fix tests
2016-07-18 21:31:25 -04:00
Seth Vargo
8f3b6511f2
guests/linux: Add shared cap for listing network interfaces
2016-07-18 21:12:54 -04:00
Seth Vargo
66cbe7b41e
Fix failing tests
2016-07-18 21:12:53 -04:00
Seth Vargo
851eff1288
guests/linux: Ensure NFS retries when mounting
...
Fixes GH-7443
2016-06-19 14:34:33 -04:00
Seth Vargo
07e6d0e707
guests/bsd: Centralize logic for halting guests
2016-06-18 15:06:20 -04:00
Satoshi Matsumoto
de9abc8f72
guests/redhat: fix network configuration in CentOS 5
...
ip command is not on PATH by default in CentOS 5 so call it with the full path.
2016-06-18 14:14:25 -04:00
Seth Vargo
6284a9ac50
guests/bsd: Move NFS mounting logic into shared
...
A number of the BSD guests used very old mounting options or just
ignored some parameters entirely. This fixes that.
- Closes #7474
- Fixes #7466
2016-06-17 21:04:23 -04:00
Seth Vargo
0c268f7b3f
guests/bsd: Add shared BSD guest for common behavior
2016-06-17 20:16:36 -04:00
James Wilson
358ad8f18f
Use ip instead of deprecated ifconfig for Red Hat/CentOS guests
2016-06-16 10:06:58 +01:00
Eugene Zamriy
eaa4e11c62
Add CloudLinux 7 to RHEL 7 flavors.
2016-06-12 16:51:55 +03:00
Torsten Juergeleit
754c1eebe5
fixes #6220 - adds check for communicator type and executes the mount script as encoded command via powershell from within 'sh' for communicator != winrm
2016-06-11 16:40:25 +02:00
Seth Vargo
c8ceb06f6d
guests/amazon: Initial addition
...
Fixes GH-7254
2016-06-06 18:22:34 -04:00