11805 Commits

Author SHA1 Message Date
Marc Abramowitz
9240ea30b6 Add setting config.ssh.ssh_command
Lets the user specify what ssh to use or even direct Vagrant to use an
ssh wrapper like sshrc (https://github.com/Russell91/sshrc).
2015-07-01 23:33:13 -07:00
Dan Williams
49c4581a8c [fedora] honor MAC address when configuring networks
Configuring by :interface doesn't work very well because Vagrant has
no idea about what interfaces are present in the VM, for example if
the image has 'docker' installed but not biosdevname, then
interface_names[0] = "docker0" which is usually not what you want
mapped to the first network from the Vagrantfile.

So if the plugins (like vagrant-libvirt) or the Vagrantfile has
given us a network with a MAC address, use that to find the interface
name for the network.  Otherwise use slot numbers as before.
2015-06-30 16:43:36 -05:00
Josef Stribny
a151f7172a Remove Fedora nfs cap 2015-06-30 10:23:15 +02:00
Josef Stribny
c4733a02d4 Rewrite Red Hat nfs caps based on systemd checks 2015-06-30 10:21:58 +02:00
arthurvanduynhoven
94549ab755 Need to do update before installing linux-image-extra kernel in case system is outdated. 2015-06-24 14:56:28 +02:00
Shawn Neal
d2671faa56 Fix WinRM elevated shell test
Username, password, and encoded command are now passed via PowerShell arguments which the test needs to account for.
2015-06-10 16:17:30 -07:00
Shawn Neal
1152b4e1df Fix issue 5790
Leaving around plaintext username and passwords in a script on a box isn't the best from a security standpoint. This change ensures the scheduled task wrapper script for WinRM doesn't leave these around on the box, and instead passes them to the script as arguments.
2015-06-10 16:04:46 -07:00
Seth Vargo
28a42122b8 Update CHANGELOG 2015-06-10 09:15:37 -04:00
Seth Vargo
6a926793d9 Merge pull request #5805 from cisco87/patch-1
Use the extended password parameter, more compatible
2015-06-10 09:14:51 -04:00
Manuel Pöter
2717f5605a Document use_linked_clone property for VirtualBox provider. 2015-06-08 18:03:03 +02:00
Francesco
c66df8cd2c Updating the test to see the changes to the mount pass parameter 2015-06-08 09:48:21 +01:00
Francesco
ca8923835a Use the extended password parameter, more compatible 2015-06-08 04:13:23 +01:00
Seth Vargo
72fe7d045d Merge pull request #5801 from jjasghar/patch-2
Update chef_solo.html.md
2015-06-06 12:10:50 -04:00
Seth Vargo
35bcc9f6c6 Merge pull request #5800 from jjasghar/patch-1
Update chef_client.html.md
2015-06-06 12:10:40 -04:00
Matt Wrock
e6daf2f172 fix pscommand error messaging 2015-06-05 22:24:05 -07:00
JJ Asghar
1b75dfd562 Update chef_solo.html.md
Updated to the new chef.io site.
2015-06-05 15:36:17 -05:00
JJ Asghar
2870d299de Update chef_client.html.md
Updated to the new chef.io site.
2015-06-05 15:34:07 -05:00
Matt Wrock
ac9b0b7978 prefer ipv4 host address over ipv6 for smb synced folders 2015-06-05 06:19:58 -07:00
Matt Wrock
740877065a marshall back command output when passing a command to ps 2015-06-05 05:07:14 -07:00
Matt Wrock
cf6d4ef5a1 clean up command encoding 2015-06-05 05:07:13 -07:00
Matt Wrock
47e57a7cd9 fix relative path 2015-06-05 05:07:12 -07:00
Matt Wrock
1cd1033093 fixes from @sethvargo comments. 2015-06-05 05:07:12 -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
Seth Vargo
b420da0678 Merge pull request #5795 from ivuk/fix-typo
Fix a typo in ssh_settings.html.md
2015-06-04 14:21:09 -04:00
Igor Vuk
b072e8bcf5 Fix a typo in ssh_settings.html.md 2015-06-04 19:58:56 +02:00
Seth Vargo
2b415d092e Whoops - don't comment that out
/cc @mbrodala
2015-06-03 12:11:39 -04:00
Manuel Pöter
9d63ca4dd2 Acquire lock to prevent concurrent creation of master VM for the same box. 2015-06-03 13:31:43 +02:00
Manuel Pöter
c3151c0b88 Ignore failure when trying to delete lock file.
Deleting the lock file can fail when another process is currently trying to acquire it (-> race condition).
It is safe to ignore this error since the other process will eventually acquire the lock and again try to delete the lock file.
2015-06-03 13:27:03 +02:00
Seth Vargo
e071ce4663 Update CHANGELOG 2015-06-02 18:14:27 -04:00
Seth Vargo
dc60d6b82c Merge pull request #5785 from mitchellh/sethvargo/ignore_hidden_dirs
Ignore hidden directories
2015-06-02 17:44:29 -04:00
Seth Vargo
345935887f Style fixes 2015-06-02 17:18:50 -04:00
Philip Wrenn
4c8fe42d70 Ignore possible version directories that are hidden folders, i.e. dot folders. 2015-06-02 17:09:10 -04:00
Seth Vargo
9b4a498f82 Update CHANGELOG 2015-06-02 17:07:41 -04:00
Seth Vargo
a7aea0953f Merge pull request #5771 from mitchellh/sethvargo/color
Add UI::Interface#color?
2015-06-02 17:07:08 -04:00
Seth Vargo
e34679c20f Merge pull request #5775 from sschuberth/master
website: Improve description to enable Hyper-V on Windows 8.1
2015-06-02 17:05:40 -04:00
Sebastian Schuberth
5ad6b7e553 website: Improve description to enable Hyper-V on Windows 8.1
The step to click on "Turn Windows features on or off" was missing.
2015-06-02 10:05:39 +02:00
Seth Vargo
b92d4b21a1 Add UI::Interface#color? 2015-06-01 11:49:09 -04:00
Tim O'Guin
72e63767ac Salt Provisioner: refactor custom install_type option to add install_command instead 2015-06-01 10:37:41 -05:00
Tim O'Guin
0b24866537 merged in master and resolved conflict in Salt provisioner docs 2015-06-01 10:07:28 -05:00
Gilles Cornu
272fb27e05 provisioners/ansible: trim white spaces
[ci skip]
2015-06-01 10:12:22 +02: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
Gilles Cornu
f7894d9c8c provisioners/ansible: fix broken colorized output
After #5532 (e745436df3c64537570953d4d815eaec840da46d), it was no longer
possible to enable ansible colorized output. Even though
`ANSIBLE_NOCOLOR` has no effect *at the moment* in vagrant+ansible
integration, I agree to keep it for clarity and consistence.

The new `--no-color` behaviour (bug fix #5531) is now covered by a unit
test.

//cc @marsam, @sethvargo
2015-06-01 08:36:09 +02:00
Seth Vargo
2daa9ed175 Merge pull request #5591 from paperlesspost/extract_shell_cmd
Move shell_cmd to a method in SSH::Communicator
2015-05-31 20:57:46 -07:00
Seth Vargo
1413cd56cf Merge pull request #5626 from brooksbrown/smb-docs-update
Added a note on PowerShell to prerequisites SMB documentation.
2015-05-31 20:53:01 -07:00
Seth Vargo
a642663a73 Merge pull request #5584 from stoned/fix-locale-en
Fix message provision / disabled_by_config
2015-05-31 20:46:44 -07:00
Seth Vargo
f48b704ba0 Update CHANGELOG 2015-05-31 20:45:37 -07:00
Seth Vargo
3017243a24 Merge pull request #5577 from luciddg/fix/master/docker-provisioner-restart-fix
Use service command to restart docker, not upstart.
2015-05-31 20:44:48 -07:00
Seth Vargo
13b8cda214 Merge pull request #5544 from bdwyertech/bdwyertech-patch-1
VMware Documentation Fix - SED Syntax
2015-05-31 20:41:57 -07:00
Seth Vargo
f1928959dc Update CHANGELOG 2015-05-31 20:34:57 -07:00
Seth Vargo
6a48af6350 Merge pull request #5532 from marsam/fix/master/ansible-no-color
Disable color if in ansible provisioner if Vagrant has no color
2015-05-31 20:34:06 -07:00