Commit Graph

9669 Commits

Author SHA1 Message Date
Satoshi Matsumoto 829b995225
guests/arch: fix configuring multiple network interfaces fails 2017-01-02 15:32:23 +09: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
Chris Roberts 9f393fc1e0 Use uid/gid from mount_options if provided for synced folders.
This also extracts the gid/uid detection and upstart actions into
reusable module to provide consistent behavior.
2016-12-14 12:12:17 -08: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 6b2db8cf2a Add note about vagrant-salt plugin 2016-12-08 13:33:03 -08: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
mammele 14e6405792 enhance untar_failure message 2016-12-06 16:44:47 +01: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
Chris Roberts 054d7f80ba Merge pull request #8071 from vaddina/patch-2
fix reload command in docs
2016-12-05 09:17:06 -08:00
Chris Roberts 276948a33b Merge pull request #8070 from vaddina/patch-1
deleted redundant and erroneous text in Plugins documentation
2016-12-05 09:15:18 -08:00
Keviv 36bdde9f3c fix reload command in docs
shouldn't it be `reload` instead of `provision` ? :-/
2016-12-01 20:43:42 +01:00
Keviv 4c07d2f4fd deleted redundant and erroneous text
There were two sections for `Plugin Repair` but the last one's content was erroneous (contained `Plugin Update` docs).
2016-12-01 20:17:27 +01:00
Bryce Shurts e4626d088d issue-7983 - Helper now throws WinRMNotReady exception is host ip is reported as an empty string 2016-12-01 13:03:38 -06:00
Chris Roberts ce35611c34 Detect load failure within solution set and retry if found
Installation solution sets in 2.2.5 can end up out of order (not seen
in 2.3.1) causing LoadErrors when the specification is in the solution
set during validation. This detects the missing spec within the solution
and if found will move spec to the start of the solution set and retry
solution activation.
2016-12-01 08:15:04 -08:00
Chris Roberts 9a8f88d36e Prevent loading local Vagrantfile when disabling plugins for global actions 2016-11-30 19:41:59 -08:00
Chris Roberts 7a57ecb5cb Merge pull request #8062 from Ultimater/patch-1
Update security.html.erb
2016-11-30 14:21:43 -08:00
Kevin Yarmak 008bafeab1 Update security.html.erb
Fixing grammar
2016-11-30 11:11:11 -08:00
Latchezar Tzvetkoff 166d10d4e1 Fix `service network restart` on RHEL-7 / Fedora
RHEL-7 / Current Fedora versions tend to use NetworkManager for
configuring the networks, and `service network restart` might fail.
If the `NetworkManager` service is running, we should restart it,
otherwise we try restarting `network`.
2016-11-29 15:40:48 +02:00
Chris Roberts f37b0c26e8 Update dev version and CHANGELOG 2016-11-29 05:15:19 -08:00