Bartłomiej Piotrowski
919f3ee4e4
Remove sysvinit else clauses in NFS for Arch Linux
...
Currently the code tries to detect if Arch uses systemd via checking
comm= of PID 1. As access to proc filesystem might be restricted due to
hideproc set and systemd is default for all Arch Linux installations
since October 2012, let's just ditch that check.
2016-06-06 19:34:45 -04:00
Seth Vargo
01e91882f0
Merge pull request #7270 from lpenz/nfspager
...
Do not let NFS systemctl status use a pager
2016-06-06 19:11:41 -04:00
Seth Vargo
982af05178
Add a note about why we will always leak RDP tmpfiles
2016-05-28 23:53:20 -04:00
Seth Vargo
3d2390fc94
Give a unique, prefixed name to all tempfiles
...
This commit basically grepped the code base for all uses of Dir.mktmpdir
and Tempfile.new/open and ensures the value is unique within the
code base and also prefixed with `vagrant-`.
Previously, most invocations of these commands simply used "vagrant",
thus making them indistinguishable when trying to identify leaks.
2016-05-28 23:22:34 -04:00
Seth Vargo
fc8e97cd89
Style
2016-05-27 19:08:49 -04:00
Seth Vargo
01369342db
Merge pull request #5670 from agdula/master
...
add RDP auto login with password
2016-05-27 19:08:10 -04:00
penz
d29acc8982
Do not let NFS systemctl status use a pager
...
Call it with "--no-pager"
Without it, if the user has a pager (more/less/etc.) configured and
call vagrant up with NFS shares, systemctl would use the pager, and
that would probably require an unnecessary key press from the user.
2016-04-28 13:28:37 -03:00
Seth Vargo
6b713bbb41
Merge pull request #6602 from mitchellh/sethvargo/darwin_rdp_info
...
Add extra_args cap for darwin rdp
2016-02-03 10:08:18 -05:00
Seth Vargo
4b4f1fc24c
Add extra_args cap for darwin rdp
...
This commit fixes GH-5523.
2016-02-03 10:03:57 -05:00
Matt Wrock
714e79d792
use SafeExec to capture history keys in powershell command
2015-12-27 13:06:45 -08:00
Mitchell Hashimoto
05c2d439ac
hosts/*: fix virtualbox install exception [GH-6713]
2015-12-24 12:08:31 -08:00
Reed Loden
7d81728e45
Add checksum validation for the VirtualBox installs on Windows and OS X
...
Use Vagrant::Util::FileChecksum to validate the downloaded VirtualBox
installers.
SHA-256 checksums for VirtualBox files are available at
https://www.virtualbox.org/download/hashes/5.0.10/SHA256SUMS .
Fixes #6611 .
2015-11-28 00:04:41 -08:00
Mitchell Hashimoto
7a1d17042d
install VB 5.0.10
2015-11-23 22:54:31 -08:00
Mitchell Hashimoto
3c2fab9d0d
providers/virtualbox: more robust lookup for VBoxManage on Win
2015-11-20 15:56:14 -08:00
Mitchell Hashimoto
9e1a119a4b
Merge pull request #6475 from nikelmwann/linux-host-use-xfreerdp
...
Prefer xfreerdp for RDP connections on Linux hosts.
2015-11-18 15:12:47 -08:00
Mitchell Hashimoto
fe36131549
Merge pull request #6367 from knixeur/fix-host-slackware
...
Fix Slackware Host detection and nfsd checks
2015-11-18 14:02:06 -08:00
Mitchell Hashimoto
f8b243a810
Merge pull request #6254 from krig/suse-nfs-commands
...
Updated NFS commands for SUSE, add sudoers script for SUSE, fix sudoers scripts for Linux
2015-11-18 13:14:52 -08:00
Mitchell Hashimoto
8bbf6f56f4
Merge pull request #4400 from mwrock/ps-cmd
...
Add a ps command to vagrant that drops the user into a remote powershell shell
2015-11-18 10:41:36 -08:00
Mitchell Hashimoto
abb1030f10
hosts/windows: install VirtualBox
2015-11-04 19:37:55 -08:00
Mitchell Hashimoto
dad5962ebb
hosts/darwin: support virtualbox install
2015-11-04 15:47:56 -08:00
Eric Winkelmann
e687f81fce
Re-word Linux RDP error to include `xfreerdp`.
...
Changed the name of the error LinuxRDesktopNotFound to
LinuxRDPClientNotFound and re-worded error text in
templates/locales/en.yml to include `xfreerdp` when listing supported
RDP clients.
2015-11-02 23:42:01 -08:00
Eric Winkelmann
879977832c
Prefer xfreerdp for RDP connections on Linux hosts.
...
Rather than only using rdesktop (which does not work properly with newer
versions of RDP), use xfreerdp if available and fall back to rdesktop if
not.
2015-11-02 23:39:06 -08:00
Guillermo Bonvehí
07e38f1bb3
Fix Slackware Host detection and nfsd checks
...
Slackware's version file is /etc/slackware-version not
/etc/slackware-release.
pidof is not on PATH by default (not running as root) so call it using
full path
2015-10-07 01:17:07 -03:00
Kristoffer Grönlund
1911586832
Better NFS status check command for SUSE
2015-09-10 10:05:14 +02:00
Mitchell Hashimoto
f26293bb06
hosts/linux: sudo to copy back to exports [GH-5957]
2015-07-15 11:04:05 -07:00
Seth Vargo
bfbf96c385
Fallback to /tmp if $TMPDIR is not set
2015-07-13 10:40:28 -04:00
Mitchell Hashimoto
4d4d2a4eec
Merge pull request #5731 from strzibny/rhel
...
Fix RHEL name and description
2015-07-06 15:31:26 -06:00
Matt Wrock
cf6d4ef5a1
clean up command encoding
2015-06-05 05:07:13 -07:00
Matt Wrock
c60a020096
adds a ps command to vagrant that drops the user into a remote powershell shell
2015-06-05 05:07:11 -07:00
William Durand
6ff15fbedb
Being able to edit a file does not mean you can write in its parent directory
...
Interactive `sed` needs write permission on the file itself. However, it
may create a backup file, which leads to the fact that the directory
where the file is located must be writable as well. That is a side
effect because this directory does not need to be writable.
This patch fixes this side effect by editing the file in `/tmp`, and
replaces it right after.
2015-06-01 10:02:13 +02:00
Josef Stribny
c1a26a66d1
Fix RHEL name and description
2015-05-19 12:58:19 +02:00
agdula
f035664b78
fixed cmdkey arguments
...
The arguments contained not needed TTERMSRV/
2015-05-02 18:01:52 +02:00
agdula
aaebe97e8a
add RDP auto login with password
...
The fix is implementation of suggestion from @majkinetor for the closed issue
https://github.com/mitchellh/vagrant/issues/4300
Works on windows 7 host.
2015-04-27 12:09:39 +02:00
Si Beaumont
3deed353ae
Allow colon in NFS ID regex
...
Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
2015-01-20 14:11:42 +00:00
Mitchell Hashimoto
2a285d7655
hosts/bad: escape regexp properly [GH-4922]
2014-12-10 09:16:45 -08:00
Adam Spiers
6af715b0db
silence warnings about unescaped '-' in re char class
...
Eliminate warnings like this:
vagrant/plugins/hosts/linux/cap/nfs.rb:74: warning: character class has '-' without escape: /^# VAGRANT-BEGIN:( 1000)? ([\.\/A-Za-z0-9-_]+?)$/
2014-10-25 15:38:13 +01:00
Mitchell Hashimoto
ea983e32c8
hosts/*: NFS prune regexp matches file paths [GH-3815]
2014-10-24 12:16:53 -07:00
Mitchell Hashimoto
cc01f01684
hosts/linux: don't use sudo to write NFS if writable [GH-2643]
2014-10-23 22:25:38 -07:00
Mitchell Hashimoto
aa981cf4ec
hosts/bsd: only use sudo if we can't write /etc/exports [GH-2643]
2014-10-23 17:43:58 -07:00
Mitchell Hashimoto
4b4255c6d1
Merge pull request #4492 from tboerger/feature/suse-fixes
...
SUSE naming and capability fixes
2014-10-23 10:11:28 -07:00
Thomas Boerger
95f39d52fa
Added better check if nfs server is available on SUSE hosts
2014-10-06 16:32:00 +02:00
Matthias Günther
9b937db6c9
hosts/windows: Don't mount all drives into the RDP session
...
This setting mounts all available drives (C:\ and mapped network
drives) into the RDP session. This shouldn't be the default.
2014-09-21 15:11:00 +02:00
Thomas Boerger
2d4454dcb4
Added a nonsudo command for nfsd check
2014-09-11 17:44:28 +02:00
Thomas Boerger
f1b62ae03a
Fixed class naming and detection for suse hosts
2014-09-11 10:48:58 +02:00
Thomas Boerger
6fa0fe09ab
Renamed host capabilities from opensuse to suse
2014-09-11 10:47:13 +02:00
Guillaume Poulin
a2985832eb
fix nfs on gentoo with systemd
2014-08-31 22:29:16 +08:00
Mitchell Hashimoto
864328e0b1
Merge pull request #4224 from kamazee/fix/master/nfs_archlinux_systemd
...
hosts/arch: Fix NFS server starting/stopping and status check
2014-08-05 17:46:40 -07:00
Alexander Kurilo
d2b65a9efa
Fix NFS server running and status check
...
According to https://wiki.archlinux.org/index.php/NFS#Starting_the_server
2014-07-22 16:47:12 +03:00
Steven Leung
1fc36d2d3a
Redhat 7 to use systemd as well …
...
Change nfs plugin to detect distribution and version
Fixes issue #4227
2014-07-21 10:56:06 -07:00
StefanScherer
1b32cbade2
fixed writing rdp file
2014-06-03 06:57:14 +02:00