Mitchell Hashimoto
e88d735cb6
Make configured VM providers default to an empty one
2012-12-23 16:29:25 -08:00
Mitchell Hashimoto
553d4a828a
Make sure provider config is always available even if no block was given
2012-12-23 16:29:25 -08:00
Mitchell Hashimoto
6478139cee
Move config.vm.customize to VirtualBox specific option
2012-12-23 16:29:25 -08:00
Mitchell Hashimoto
66849fda20
When recovering on import and destroying, force it
2012-12-23 16:29:25 -08:00
Mitchell Hashimoto
1ee470a551
Begin work on supporting provider-specific configuration
...
This works by registering a `config` with `:provider => true` with the
same name as your provider. Vagrant will then automatically configure
the provider when `config.vm.provider` is used.
2012-12-23 16:29:24 -08:00
Mitchell Hashimoto
666f9f802d
When upgrading V1 `vm` config, don't set on new if it wasn't set before
2012-12-23 16:29:24 -08:00
Mitchell Hashimoto
b6c6614fd8
Basic upgrade support for the `vm` config settings. VERY basic.
2012-12-23 16:29:24 -08:00
Mitchell Hashimoto
5adcb0fc43
Merge pull request #1232 from paulmars/master
...
Altered messages so they were _not_ self referencing.
2012-12-21 12:15:02 -08:00
Mitchell Hashimoto
b9f6afd2a0
Scrub LD_LIBRARY_PATH prior to executing VBoxManage
2012-12-16 10:37:43 -08:00
Mitchell Hashimoto
42f157143f
Forward-port fix for OS X and VirtualBox bug from 1-0-stable
2012-11-20 11:00:19 -08:00
Paul McKellar
2b0c4e6385
Change description of plugins to avoid self referencial definitions. e.g. 'destroy' will destroy your VM
2012-11-19 13:10:04 -08:00
Mitchell Hashimoto
67855be77b
Add the Environment#machine method
...
This will eventually replace the Environment#vms method. Because of the
introduction of providers, the environment doesn't know what the backing
of the machines will be (and they're _machines_ now, not _vms_).
Instead, users of Environment will now call `#machine` on the
environment to retrieve a machine with the given backing provider as it
needs it.
2012-11-07 21:45:09 -08:00
Mitchell Hashimoto
83e99bbe4e
config.vm.provider (although it doesn't do anything yet)
2012-11-07 20:38:41 -08:00
Mitchell Hashimoto
d254d6f718
Configure the V2 kernel.
2012-11-06 21:28:44 -08:00
Mitchell Hashimoto
2de124e296
Turn provisioners to V2
2012-11-06 21:21:36 -08:00
Mitchell Hashimoto
81ca275792
Providers to V2
2012-11-06 21:20:55 -08:00
Mitchell Hashimoto
5a33b7ee54
Hosts to V2
2012-11-06 21:20:22 -08:00
Mitchell Hashimoto
1d2beff649
Guests to V2
2012-11-06 21:14:45 -08:00
Mitchell Hashimoto
45f211b19e
Communicators to v2 plugins.
2012-11-06 21:14:10 -08:00
Mitchell Hashimoto
e8370f0098
Convert comands to V2 plugins.
2012-11-06 21:09:29 -08:00
Mitchell Hashimoto
399437e758
Mark core config classes as upgrade safe
2012-11-03 21:41:04 -07:00
Mitchell Hashimoto
6df6f6764f
Remove plugin activation. It really isn't necessary.
...
It was only used in a couple places and it isn't necessary since you can
do the loading within the actual blocks themselves.
2012-11-03 20:29:34 -07:00
Mitchell Hashimoto
335d9fad1f
Merge pull request #1191 from lorello/master
...
Fix change_host_name on Ubuntu Hardy
2012-11-02 21:32:59 -07:00
Mitchell Hashimoto
f72054b195
Merge pull request #1209 from pbrisbin/arch-fix-3
...
Additional Arch host class fixes
2012-11-02 21:29:44 -07:00
Dan Carley
fec9410814
Omit empty lines in Puppet provisioner output
...
The sudo() block and/or the Puppet provisioner often returns newline
characters as separate strings. This makes the chomp() ineffective and
results in extraneous spacing between the output lines.
Separate out the call to chomp() so that we only do it once. Then only
output info if that line is not an empty string.
2012-10-30 11:24:10 +00:00
Mitchell Hashimoto
44804ce94b
Fix old channel usage on chef client provisioner
2012-10-26 16:39:51 -07:00
patrick brisbin
8c7c345bc0
Use a better check for systemd
...
Using `which systemctl` would return true on even non-systemd machines
during this transitional time.
2012-10-26 14:16:04 -04:00
patrick brisbin
6905513481
Fix match? and nfs? for Arch host
2012-10-26 14:15:58 -04:00
Mitchell Hashimoto
625741ab6a
Allow hostnames to be subset of box name for Ubuntu
2012-10-12 20:06:54 -07:00
Mitchell Hashimoto
3c0341b7be
Disable DNS proxy for 12.10 too
2012-10-12 20:03:25 -07:00
Mitchell Hashimoto
5b4a132fdd
Merge pull request #1176 from paulv/master
...
Fix for DNS resolution bug on Ubuntu 12.10
2012-10-12 20:01:37 -07:00
Mitchell Hashimoto
3d0c82edad
Merge pull request #1175 from petere/puppet-exitcodes
...
Check exit codes of puppet provisioners
2012-10-12 19:56:19 -07:00
Mitchell Hashimoto
544006c16c
Whitespace and such
2012-10-12 19:51:25 -07:00
LoreLLo
fc0a0d04e5
fix change_host_name for Ubuntu Hardy
2012-10-12 18:11:52 +02:00
Richard Bullington-McGuire
cced762645
Fix Windows shell provisioning
...
Resolves [GH-1036] [GH-1164] [GH-1181]
Ported fixes from patches to 1-0-stable
2012-10-11 20:33:37 -04:00
Paul Visscher
f36ab8a165
Fixes a bug with DNS resolution in Ubuntu 12.10.
2012-10-08 22:12:41 -04:00
Peter Eisentraut
901d3ad23b
Check exit codes of puppet provisioners
...
Previously, failures in applying the puppet manifests would be
ignored, because puppet apply/agent don't have any useful exit codes
by default. (Errors are printed, but vagrant continues.)
Use the option --detailed-exitcodes of puppet apply/agent to check for
success.
2012-10-08 15:22:30 -04:00
Mitchell Hashimoto
c1e99713bd
Merge pull request #1146 from piavlo/master
...
make chef provisioners to write human readable dna.json
2012-09-27 14:01:47 -07:00
Mitchell Hashimoto
88277fa2e0
Merge pull request #1067 from jtimberman/chef-command-args
...
Add config.arguments for Chef
2012-09-27 13:53:29 -07:00
Mitchell Hashimoto
8cc0504c53
Merge pull request #1118 from hugowetterberg/master
...
Emitting vagrant-mount events when mounting nfs volumes
2012-09-27 10:44:34 -07:00
Piavlo
c2eb523b05
create human readable dna.json
2012-09-20 19:58:37 +03:00
Mitchell Hashimoto
184f6dccb2
Forward port GH-1142
2012-09-18 22:26:51 -07:00
Mitchell Hashimoto
f7c231758f
Forward Port GH-1140
2012-09-18 22:19:51 -07:00
Mitchell Hashimoto
678c6a070d
VirtualBox 4.2 support
2012-09-13 19:11:32 -07:00
Hugo Wetterberg
17a6b64309
Emitting vagrant-mount events when mounting nfs volumes
2012-09-13 09:14:40 +02:00
Dan Midwood
bdf72c5554
Use the communicate interface for ArchLinux guests
2012-09-02 18:00:11 +01:00
Mitchell Hashimoto
5691df37a1
Retry SSH on EHOSTUNREACH
...
This is one of those errors that happens once in awhile that can be
retried.
2012-08-29 13:39:03 -07:00
Mitchell Hashimoto
ed1bc58735
Fix shell provisioner to run with new machine abstraction
2012-08-21 16:57:59 -07:00
Mitchell Hashimoto
a238e06795
Fix up the chef solo provisioner to work with new machine abstraction
2012-08-21 16:57:17 -07:00
Mitchell Hashimoto
f193d69fbc
Fix up the debian guest to work with the new machine API
2012-08-20 14:58:58 -07:00