vagrant/plugins/guests
Jeff Bonhag e672e5dc65
Fix issues with Windows SSH provisioner
Windows commands that run over SSH are wrapped in a script that writes a
special marker to the two output streams (stdout and stderr).  This
allows Vagrant to consume the output streams.

Unfortunately, this leads to a sort of chicken-and-egg problem where no
commands can be run before a wrapper script exists. For example, you
can't make a destination directory to upload the wrapper script without
first creating a wrapper script to make the directory. :)

This commit changes the behavior of the WinSSH communicator to assume
that the destination directory already exists for provisioning scripts.

It also moves the default `upload_path` from the shell provisioner
config so we can have OS-specific defaults.

Finally, it introduces a Windows-specific #upload method which will
properly use a Windows path separator on a non-Windows host.
2020-01-13 13:55:48 -05:00
..
alpine Fixes #11218: Update apk cache when installing rsync (#11220) 2019-12-17 12:34:53 -05:00
alt Added fall through logic with error messages if OS is unrecognized. 2019-08-03 20:59:41 +05:30
amazon Spelling fixes 2018-03-14 14:41:04 +00:00
arch Remove comment removal from /etc/hosts file on guests 2017-04-20 17:07:56 -07:00
atomic Remove comment removal from /etc/hosts file on guests 2017-04-20 17:07:56 -07:00
bsd BSD: VirtualBox shared folders naming convention 2019-03-28 02:34:34 -03:00
coreos Do not rely on IPAddr#prefix as it's not available on older rubies 2019-03-22 16:42:30 -07:00
darwin Support properly setting up synced folders on Catalina 2019-12-18 13:11:30 -08:00
debian Fixes #10585: Properly set DHCP for systemd-networkd ips 2019-01-11 10:19:37 -08:00
dragonflybsd dragonflybsd: extend FreeBSD 2017-11-19 19:41:25 -06:00
elementary Support for Elementary OS 0.4 - Issue #8471 2017-04-12 02:36:47 -05:00
esxi guests/esxi: Added public_key capability 2017-02-28 02:35:00 -08:00
fedora guests/fedora: Move as a child of redhat 2016-07-18 21:12:54 -04:00
freebsd FreeBSD: Simplify the listing of interfaces 2019-03-29 02:47:39 -03:00
funtoo guests/funtoo: Behave like a gentoo guest 2016-07-18 21:12:51 -04:00
gentoo Remove comment removal from /etc/hosts file on guests 2017-04-20 17:07:56 -07:00
haiku haiku: Improve capabilities. (public keys, halt) 2017-12-05 18:19:15 -06:00
kali plugins/guests/kali: fix file permissions 2017-09-06 12:21:23 -03:00
linux Fixes #10753: Add reboot support for Linux guests (#11194) 2019-11-15 14:46:36 -05:00
mint guests/linux: Provide common linux detection style 2016-10-11 07:50:34 -07:00
netbsd (#8917) Fix shell_expand_guest_path capability 2017-08-25 10:02:36 -07:00
nixos Use symbols for defining guest capabilities 2016-06-17 19:55:04 -04:00
omnios Remove comment removal from /etc/hosts file on guests 2017-04-20 17:07:56 -07:00
openbsd Atomically apply new hostname.if(5) 2017-12-13 18:34:17 +09:00
photon the label changed in 2.0 2018-03-01 13:05:26 +02:00
pld Remove comment removal from /etc/hosts file on guests 2017-04-20 17:07:56 -07:00
redhat Remove trailing whitespace 2019-11-21 13:44:28 -08:00
slackware Remove comment removal from /etc/hosts file on guests 2017-04-20 17:07:56 -07:00
smartos SmartOS should be an inheritance of solaris 2018-01-25 13:26:18 +01:00
solaris Add winrm and upload commands 2018-10-04 13:26:41 -07:00
solaris11 - FIX for #10594 (more logical flow) 2019-01-17 14:59:52 +01:00
suse explicitly test the hostname we'll be setting 2019-11-01 15:41:04 +01:00
tinycore Use uid/gid from mount_options if provided for synced folders. 2016-12-14 12:12:17 -08:00
trisquel Use symbols for defining guest capabilities 2016-06-17 19:55:04 -04:00
ubuntu guests/linux: Provide common linux detection style 2016-10-11 07:50:34 -07:00
windows Fix issues with Windows SSH provisioner 2020-01-13 13:55:48 -05:00