Chris Roberts
55460379f1
Merge pull request #9315 from basvandervlies/ifconfig_obsolete
...
ifconfig is replaced by ip command suite. So use "ip addr" and failback
2018-01-16 20:12:18 -08:00
Chris Roberts
0bf589861c
Merge pull request #9212 from mahaag/master
...
Use basename for setting hostname on Suse
2018-01-16 20:08:05 -08:00
Chris Roberts
b1c38c282e
Support SMB mount option overrides
2018-01-12 17:23:00 -08:00
Chris Roberts
b0fc6a06a1
Merge pull request #9294 from chrisroberts/e-smb
...
SMB synced folders enhancements
2018-01-12 15:02:08 -08:00
Chris Roberts
53fbf67d9f
Merge pull request #9295 from mcandre/patch-2
...
recognize solaris alternatives
2018-01-12 13:11:16 -08:00
Chris Roberts
f5888a4200
Merge pull request #9307 from wink-y/amazon-perform
...
Modify the matching pattern of guest os for amazon linux
2018-01-12 13:08:01 -08:00
Brian Cain
5bf75dcfb3
Merge pull request #9338 from chrisroberts/fix-ubuntu17-networking
...
Update Debian guest configure networks
2018-01-10 10:11:47 -08:00
Bas van der Vlies
de62baed6b
as requested change to test to command:`which`
2018-01-08 08:53:33 +01:00
Chris Roberts
913b5639e5
Do better handling given netmasks
2018-01-03 17:26:08 -08:00
Chris Roberts
a36a84c85a
Only apply netplan configuration if systemd is in use
2018-01-03 16:31:49 -08:00
Chris Roberts
75a03ff9e9
Update available debian networking options
2018-01-03 13:56:01 -08:00
Bas van der Vlies
a5deb20dcb
ifconfig is replaced by ip command suite. So use "ip addr" and failback
...
to ifconfig
2017-12-28 20:31:04 +01:00
winky
e99c47907f
Modify the matching pattern of guest os for amazon linux
2017-12-27 13:57:47 +09:00
Chris Roberts
2caf109a03
Mark passwords as sensitive within guest capabilities
2017-12-21 12:49:34 -08:00
Andrew Pennebaker
98eb8cef03
recognize solaris alternatives
...
As the Solaris project is dead, recognize that Solaris alternatives like DilOS and SmartOS feature a Solaris compatible kernel and capabilities.
2017-12-21 13:07:00 -06:00
Chris Roberts
00fa50c296
SMB enhancements
2017-12-21 09:55:19 -08:00
Chris Roberts
e85ef1655b
Always remove credentials file after mount attempts
2017-12-21 09:55:19 -08:00
Brian Cain
f046482cfb
[WIP] systemd networkd for debian guests
2017-12-20 16:42:51 -08:00
Chris Roberts
04e35784e7
Merge pull request #9205 from mcandre/patch-1
...
dragonflybsd: extend FreeBSD
2017-12-13 15:42:25 -08:00
Alexander von Gluck IV
263a2c4d9b
haiku: Improve capabilities. (public keys, halt)
2017-12-05 18:19:15 -06:00
Brian Cain
c3a4f8d72a
Merge pull request #7805 from kallisti5/master
...
Add support for the Haiku operating system
2017-12-05 14:03:43 -08:00
Matthias Haag
a139dd2b59
use basename for setting hostname
2017-11-22 11:09:51 +01:00
Andrew Pennebaker
2b87d12925
dragonflybsd: extend FreeBSD
...
Reuse FreeBSD guest code for installing rsync, etc., as dragonfly- and freebsd are very similar, especially with regard to package management.
2017-11-19 19:41:25 -06:00
Brian Cain
c7ec0a42a5
( #8941 ) Include WinSSH Communicator
...
This commit requires the winssh communicator class wihtin the public_key
capability for Windows. Prior to this commit users could run into a
situation where Vagrant would check if the machine could speak in WinSSH
and fail on an uninitialized constant.
2017-10-24 12:02:01 -07:00
Chris Roberts
6eca74afc7
Merge pull request #9012 from benh57/winssh_communicator_fix
...
Fix guest network setup with winssh communicator
2017-10-23 15:41:53 -07:00
Brian Cain
a849cd2f7d
( #8963 ) Unify Solaris Guests
...
This commit removes some duplicated code within the Solaris11 guest
implemnentation and instead relies on the Solaris guest for the majority
of its guest capabilities.
2017-10-05 11:31:12 -07:00
Brian Cain
fb1501d48a
Merge pull request #8874 from taliesins/HandleChefProvisionerRebootRequest
...
Handle chef provisioner reboot request
2017-10-04 09:37:02 -07:00
Ben Hines
ea518f6c78
test() defaults to powershell for winssh, no need to pass it
2017-09-29 19:30:07 -07:00
Ben Hines
6b4584efb6
Use the 'powershell' shell when running powershell commands. Allows winssh communicator to function
2017-09-29 19:17:49 -07:00
Chris Roberts
2451c859e8
Merge pull request #8746 from mastersin/alt
...
Add ALT Linux platforms guest detection and network configuration support (#8745 )
2017-09-06 17:49:38 -07:00
Antonio Terceiro
acda71edd9
plugins/guests/kali: fix file permissions
...
Those Ruby files are not standalone scripts, so there is no point in
having them being executable.
2017-09-06 12:21:23 -03: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
Chris Roberts
93f6451261
Retain winssh_ method prefix on auth key helper
2017-08-21 14:48:52 -07:00
Rui Lopes
7fac854cf3
winssh communicator: simplify the authorized_keys file modification
2017-08-21 14:42:18 -07:00
Rui Lopes
4ab0dc19b1
winssh communicator: retain the authorized_keys file acl permissions
2017-08-21 14:42:18 -07:00
Rui Lopes
aeac480683
winssh communicator: fix public key insertion
2017-08-21 14:42:18 -07:00
Brian Cain
2b8f7f67ea
Add unit tests for shell_expand_guest_path function
2017-08-15 09:33:29 -07:00
Brian Cain
61c501cc65
Ensure paths with spaces are preserved
...
Prior to this commit, if a user set the `destination` path to include a
space, the `shell_expand_guest_path` function would remove that space
and return a partial path. This commit updates that to quote the path to
be expanded to preserve the entire path.
2017-08-14 15:34:10 -07:00
Taliesin Sisson
820d80852c
If this is called during a shutdown then exception code 1115 is throw.
2017-08-10 11:14:52 +01:00
Brian Cain
5ee3b0c3b9
Merge pull request #8760 from marblenix/fix/Unable_to_list_network_interfaces_on_FreeBSD
...
Fix vagrant not being able to list network devices on some FreeBSD boxes.
2017-07-21 14:27:05 -07:00
Evgeny Sinelnikov
015d98e76c
guests/alt: Fix flavor and network configure with unit tests
2017-07-11 00:35:28 +03:00
Evgeny Sinelnikov
6ef55c172d
guests/alt: Adjust flavour detect and restart network after set hostname
2017-07-09 18:16:25 +03:00
Evgeny Sinelnikov
88c0cb855f
guests/alt: Update network configuration
...
Fix network mask to CIDR notation and network configure stop and
restart commands with NetworkManager
2017-07-08 21:30:52 +03:00
Chris Roberts
cef38eefd0
Add public key capability to Windows guests for winssh communicator
2017-07-07 11:26:32 -07:00
Caleb Marble
2aceb03b19
Fix vagrant not being able to list network devices on FreeBSD boxes.
2017-07-07 09:03:38 -05:00
Evgeny Sinelnikov
3dd90aa955
Add ALT Linux platforms guest detection and support
...
* ALT Linux platforms is an original rpm based distribution
forked as Mandrake Russian Edition Spring at 2001 year
* Distributions of ALT Linux use etcnet (https://www.altlinux.org/Etcnet ) as
internal network configuration system needs for configure_networks support
2017-07-03 00:25:33 +03: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
12e63de542
Merge pull request #8553 from bdwyertech/kali
...
Add support for Kali Linux
2017-06-14 16:47:32 -07: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