Commit Graph

9475 Commits

Author SHA1 Message Date
soleuu 742a46c635 port forwarding rule name
To identify rules, we can name them using the id parameter.
It prevent from adding lots of comments in the Vagrant file and to have un-named rules in your VirtualBox port lists.

It is very important when you have a lot ogf rule to identify witch one you want to edit.

For example:
config.vm.network "forwarded_port", guest: 80  , host: 8080 , id:"http-proxy"
2017-01-30 12:03:32 +01:00
Chris Roberts 159fca9d13 Merge pull request #8109 from kenorb/patch-2
Add missing config.ssh.keep_alive docs [GH-516]
2017-01-05 15:23:57 -08:00
Chris Roberts b2c090b4fe Update CHANGELOG 2017-01-05 15:18:53 -08:00
Chris Roberts c9c942a17f Merge pull request #8119 from bbrala/check-vmcx-support
Harden VMCX support
2017-01-05 15:16:17 -08:00
Chris Roberts 5b3ecda5ba Merge pull request #8143 from danielmenezesbr/danielmenezesbr-patch-doc-vagrant
Debug Documentation - &> is not valid on Windows
2017-01-05 15:10:33 -08:00
Chris Roberts 8e7c267b3f Update CHANGELOG 2017-01-05 15:09:29 -08:00
Chris Roberts f3eaee7459 Update CHANGELOG 2017-01-05 15:09:00 -08:00
Chris Roberts 5004f37a36 Merge pull request #8148 from mikefaille/netfixRHEL
Revert "Fix `service network restart` on RHEL-7 / Fedora"
2017-01-05 15:07:17 -08:00
Chris Roberts 5bbe9c96ac Update CHANGELOG 2017-01-05 10:51:58 -08:00
Chris Roberts c11534e13c Merge pull request #8102 from mwrock/winrmv2
Refactor winrm communicator to use latest winrm gems and v2 api
2017-01-05 10:48:44 -08:00
Chris Roberts 734b196d05 Merge pull request #8146 from ctranstrum/patch-1
Fix typo.
2017-01-05 10:42:12 -08:00
Chris Roberts 74d6ef79da Update CHANGELOG 2017-01-05 10:23:46 -08:00
Chris Roberts e09e31dd6a Merge pull request #8092 from ephemeralsnow/bugfix/quotes
Fix quotes
2017-01-05 10:22:54 -08:00
Chris Roberts 388a21edcf Update CHANGELOG 2017-01-05 10:22:09 -08:00
Chris Roberts cd0d4592af Merge pull request #8160 from rburkholder/patch-2
Update command.rb
2017-01-05 10:18:32 -08:00
Raymond P. Burkholder 30ea15994a Update command.rb
Issue #8159

while using:
$ vagrant package --base ${VIRTUALBOXNAME}

this error occurs:

/usr/share/rubygems-integration/all/gems/vagrant-1.9.0/plugins/commands/package/command.rb:59:in `package_base': uninitialized constant VagrantPlugins::CommandPackage::Command::SecureRandom (NameError)
Did you mean?  SecureRandom
        from /usr/share/rubygems-integration/all/gems/vagrant-1.9.0/plugins/commands/package/command.rb:42:in `execute'
        from /usr/share/rubygems-integration/all/gems/vagrant-1.9.0/lib/vagrant/cli.rb:42:in `execute'
        from /usr/share/rubygems-integration/all/gems/vagrant-1.9.0/lib/vagrant/environment.rb:274:in `cli'
        from /usr/share/rubygems-integration/all/gems/vagrant-1.9.0/bin/vagrant:118:in `<top (required)>'
        from /usr/bin/vagrant:22:in `load'
        from /usr/bin/vagrant:22:in `<main>'
2016-12-28 19:02:13 -04:00
Gilles Cornu 9493901e0c
provisioners/ansible: Add example of `host_vars` values that include quotes
Motivated by the support effort on GH-8158 ;-)
2016-12-28 23:23:43 +01:00
Michaël Faille 96611341a9 Revert "Fix `service network restart` on RHEL-7 / Fedora"
`/etc/init.d/network restart` already restart NM and shutdown interfaces.

In start() :
```
        if [ "$(LANG=C nmcli -t --fields running general status 2>/dev/null)" = "running" ]; then
                nmcli connection reload
        fi

```

In stop() :

```
       for i in $vpninterfaces $xdslinterfaces $bridgeinterfaces $vlaninterfaces $remaining; do
                unset DEVICE TYPE
                (. ./ifcfg-$i
                if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi

                if ! check_device_down $DEVICE; then
                   action $"Shutting down interface $i: " ./ifdown $i boot
                   [ $? -ne 0 ] && rc=1
                fi
                )
        done
```
Where $remaining include all "others" interfaces including eth*

This reverts commit 166d10d4e1.
2016-12-21 20:33:57 -05:00
ctranstrum 52f45f27c4 Fix typo.
Looks like there was a typo. Fixed.
2016-12-21 15:08:57 -07:00
danielmenezesbr f66dd98d56 &> is not valid on windows
The command "vagrant up --debug &> vagrant.log" is not valid on Windows.
On Windows, you need to do: vagrant up --debug > vagrant.log 2>&1
2016-12-20 17:01:08 -02:00
Bjorn Brala f808f74009 Harden VMCX support. Vagrant now checks if your Windows version has support for vmcx and then uses the VMCX file. 2016-12-14 15:14:56 +01:00
Chris Roberts a3b9d231ad Merge pull request #8106 from kikitux/master
Show comma separated include for package
2016-12-13 12:03:42 -08:00
Rafal 25a1e79e27 Add missing config.ssh.keep_alive docs [GH-516] 2016-12-11 13:33:45 +00:00
Matt Wrock 725824e1dd refactor winrm communicator to use latest winrm gems and v2 api
Signed-off-by: Matt Wrock <matt@mattwrock.com>
2016-12-11 00:52:00 -08:00
Alvaro Miranda Aguilera 06271f55c6 Show comma separated include 2016-12-10 21:56:21 +01:00
Chris Roberts 3dae881ddb Merge pull request #8098 from bbrala/hyper-v-package-documentation
Hyper-V package documentation
2016-12-08 12:28:01 -08:00
Bjorn Brala 457c58fe71 Mention `--base` option is VirtualBox only in package command. 2016-12-08 21:22:24 +01:00
Bjorn Brala 833a7fdb3e Update documentation to mention packaging Hyper-V boxes. 2016-12-08 21:21:55 +01:00
Chris Roberts 730bca7b98 Update CHANGELOG 2016-12-07 13:39:29 -08:00
Chris Roberts 23c41f4461 Merge pull request #7867 from bbrala/hyperv-package
Package Hyper-V boxes
2016-12-07 13:37:47 -08:00
Chris Roberts 9104ff94a9 Update dev version and CHANGELOG 2016-12-07 10:29:08 -08:00
Chris Roberts c0758bfa2e Bump website version to 1.9.1 2016-12-07 10:25:56 -08:00
Chris Roberts d8c2b2e5ab Release v1.9.1 2016-12-07 08:45:42 -08:00
Chris Roberts 797f0effd7 Update CHANGELOG 2016-12-07 06:58:00 -08:00
Chris Roberts 23b4421309 Merge pull request #8094 from chrisroberts/bundler/env
Remove direct bundler usage within Env util
2016-12-07 06:56:01 -08:00
Chris Roberts 9b5e37ea73 Merge pull request #8087 from chrisroberts/bundler/remove-interactive
Prevent interaction when removing plugin gems
2016-12-07 06:55:06 -08:00
Chris Roberts c20e160295 Remove direct bundler usage within Env util 2016-12-07 06:00:56 -08:00
ephemeralsnow 556b82da1c Fix quotes 2016-12-07 18:04:33 +09:00
Chris Roberts c8d564e578 Prevent interaction when removing plugin gems 2016-12-06 07:07:52 -08:00
Chris Roberts b2457e3e21 Add rake constraint to prevent rspec breakage 2016-12-06 07:06:34 -08:00
Chris Roberts ee858a291f Update CHANGELOG 2016-12-05 15:27:17 -08:00
Chris Roberts 0587707044 Merge pull request #8051 from jklippel/vagrant-issue-7368
redirect any output to stderr by /sbin/init to /dev/null when checking for upstart capability
2016-12-05 15:21:04 -08:00
Chris Roberts d026b0bd47 Update CHANGELOG 2016-12-05 15:20:16 -08:00
Chris Roberts 3e38dee3e3 Merge pull request #8052 from tzvetkoff/fedora-fix-service-network-restart
Fix `service network restart` on RHEL-7 / Fedora
2016-12-05 15:18:25 -08:00
Chris Roberts b274f98b74 Update CHANGELOG 2016-12-05 14:48:53 -08:00
Chris Roberts 4f6af7af47 Merge pull request #8066 from chrisroberts/fix/has-plugin
Prevent loading local Vagrantfile when disabling plugins for global actions
2016-12-05 14:45:56 -08:00
Chris Roberts c71623c2bd Update CHANGELOG 2016-12-05 14:29:51 -08:00
Chris Roberts 5b1b18d01a Merge pull request #8068 from chrisroberts/bundler/install-solution-act
Detect load failure within solution set and retry if found
2016-12-05 13:28:58 -08:00
Chris Roberts 1c39653427 Merge pull request #8079 from chrisroberts/plugin/local-install
Explicitly require name_tuple
2016-12-05 13:28:28 -08:00
Chris Roberts 3dccd82a39 Explicitly require name_tuple
This does not get automatically loaded before usage so ensure
it is properly loaded for plugin usage.
2016-12-05 09:35:02 -08:00