Commit Graph

1798 Commits

Author SHA1 Message Date
Daniel Simmons 38212969c6 Don't attempt to calculate percentage if total is not set
Prevents a FloatDomainError if the total is zero or not known. Fixes #788.
2012-03-09 11:10:30 +00:00
Mitchell Hashimoto f8fa859b5f Raise an error if the CWD is incorrect 2012-03-08 16:57:17 -08:00
Mitchell Hashimoto 6969f791ad VAGRANT_CWD can be set to set the CWD of `vagrant`. 2012-03-08 16:45:19 -08:00
Mitchell Hashimoto ce00a56ecb Even with a custom vagrantfile name, use defaults [GH-778] 2012-03-08 13:24:04 -08:00
Mitchell Hashimoto bab5d7b685 Silent UI can't respond to `ask` 2012-03-07 22:42:47 -08:00
Mitchell Hashimoto 3046845215 Show nice error if vagrant destroy can't confirm [GH-779] 2012-03-07 22:35:40 -08:00
Mitchell Hashimoto 95b3e9f82f UI errors if a TTY is required and not given 2012-03-07 22:32:44 -08:00
Mitchell Hashimoto 700938b668 Load rubygems in environment.rb [GH-781] 2012-03-07 22:15:45 -08:00
Mitchell Hashimoto ef90fb7b0d Up version for dev 2012-03-06 11:38:11 -08:00
Mitchell Hashimoto 1fd4cb1a4e Fix a potential exception case by making UUID for VB driver optional 2012-03-06 11:37:36 -08:00
Mitchell Hashimoto 14513a99b3 Ignore me. 2012-03-05 22:17:39 -08:00
Mitchell Hashimoto 40901dc2e6 Make sure a driver is always set on a VM object 2012-03-05 20:42:55 -08:00
Mitchell Hashimoto 97cf6ddfba Update CHANGELOG 2012-03-04 16:39:35 -08:00
Wayne E. Seguin 9990311f20 Added Fedora 16 handling. 2012-03-04 18:42:37 -05:00
Mitchell Hashimoto a90f33dcf2 Avoid deadlock behavior on Windows subprocess IO [GH-765] 2012-02-28 09:44:28 -08:00
Achim Herwig 7c1fcbdde0 Added openSuSE as host system.
Init script for NFS-server differs.
2012-02-28 11:55:39 +01:00
Mitchell Hashimoto a8293543e9 Automatically convert all customize arguments to strings. 2012-02-26 14:13:24 -08:00
Mitchell Hashimoto 07a815f9d8 Remove deprecation warnings, the things are gone! 2012-02-25 12:35:58 -08:00
Mitchell Hashimoto 7b9f64f577 Allow data store to work even if file path is nil 2012-02-25 10:41:06 -08:00
Mitchell Hashimoto 6490710d43 Puppet accepts :facter option to override default facts [GH-753] 2012-02-25 10:18:17 -08:00
Mitchell Hashimoto 2c823e98bd Fix crashing bug with `primary_vm` on Environment 2012-02-24 10:27:34 -08:00
Mitchell Hashimoto 50fb129f53 Make VM#run_action public for plugin devs 2012-02-23 23:01:43 -08:00
Ian Downes 0f63171a4d Support for bridged networks in FreeBSD 2012-02-23 18:06:40 -08:00
Mitchell Hashimoto 23fe4ef7e2 Fix up the freebsd guest regex 2012-02-22 15:19:45 -08:00
Ian Downes 3ebde12efb add change_host_name support for FreeBSD 2012-02-22 15:08:18 -08:00
Mitchell Hashimoto 2f420705da Output version at the top of every log 2012-02-22 10:00:19 -08:00
Mitchell Hashimoto cf840c88b0 Merge pull request #751 from jjhuff/chef-provision
Fix for permissions when re-provisioning chef.
2012-02-20 17:28:31 -08:00
Mitchell Hashimoto 3e5b3d051b Fix exception when adding boxes due to recent change. [GH-752] 2012-02-20 17:26:22 -08:00
Justin Huff 32f7f98ef4 Fix for permissions when re-provisioning chef.
https://github.com/mitchellh/vagrant/issues/748
2012-02-20 09:53:09 -08:00
Jaime Soriano Pastor c0338dfa4b NIC type can also be defined for host-only adapters 2012-02-20 12:16:10 +01:00
Mitchell Hashimoto 5eb09aac3f Up version for RC2 2012-02-19 11:50:54 -08:00
Mitchell Hashimoto 8969605fe2 Check that VirtualBox exists early. [GH-746] 2012-02-19 11:36:25 -08:00
Mitchell Hashimoto c2fbbe7dee Better logging for config loading 2012-02-15 18:23:05 -08:00
Mitchell Hashimoto d4a2e39c3e Gracefully handle if the type of arg is not correct for bridged.
[GH-743]
2012-02-15 18:20:44 -08:00
Mitchell Hashimoto 163da82170 Fix edge case which caused exception in network configuration code.
[GH-742]
2012-02-15 11:11:11 -08:00
Mitchell Hashimoto 034477b52a Add `fsid` to linux exports for NFS. [GH-736] 2012-02-14 23:08:32 -08:00
Mitchell Hashimoto 96a920e4e5 Destroy VMs in reverse order. [GH-739] 2012-02-14 10:42:30 -08:00
Mitchell Hashimoto 2cf146cf6b Set uuid directly if VM couldn't be found. [GH-725]
This fixes a rare edge case where an exception could actually cause
Vagrant to remove the UUID state of a running VM, "losing" it.
2012-02-13 17:39:18 -08:00
Mitchell Hashimoto 888907de91 Up version for 1.0.0.rc1 2012-02-12 11:21:00 -08:00
Mitchell Hashimoto b64ac0b0d3 Use `binmode` to actually fix GH-727 2012-02-11 10:36:27 -08:00
Mitchell Hashimoto 9e427562ef Retry VirtualBox commands. [GH-726] 2012-02-10 21:56:59 -08:00
Mitchell Hashimoto c50c7959f9 Convert lineendings for the other guests as well 2012-02-10 18:14:51 -08:00
Mitchell Hashimoto ba42fffed0 Convert line endings to Unix-style [GH-727] 2012-02-10 18:07:59 -08:00
Mitchell Hashimoto 5c49d693d4 You can no longer output a package to a directory [GH-730] 2012-02-10 17:57:40 -08:00
Mitchell Hashimoto 99ec766efe Get rid of tabs 2012-02-10 17:57:40 -08:00
John Bender b8db119d50 expose virtualbox base driver methods execute and raw 2012-02-09 23:04:21 -08:00
Mitchell Hashimoto 02fe7b6a9a Merge branch '0-9-6-regression' 2012-02-09 00:45:30 -08:00
Mitchell Hashimoto ea19bddb04 v0.9.7 2012-02-10 00:54:16 -08:00
Mitchell Hashimoto 0ba3824106 Windows subprocess IO works again. [GH-721] 2012-02-10 00:53:22 -08:00
Mitchell Hashimoto aa18ea3fd0 Fix issue where starting a VM failure was false negative [GH-720] 2012-02-09 00:04:47 -08:00
Mitchell Hashimoto f81fb58cd9 Fix puppet inheritence for config [GH-722] 2012-02-08 22:28:19 -08:00
Bob Van Zant ae62c9bd68 Convert example host only IPs to RFC1918 2012-02-08 14:50:33 -08:00
Mitchell Hashimoto 9882918903 `destroy` takes a `--force` flag [GH-699] 2012-02-07 22:58:01 -08:00
Mitchell Hashimoto 6ed6c0c085 `destroy` asks for confirmation. [GH-699] 2012-02-07 22:54:51 -08:00
Mitchell Hashimoto fbcb2c6ddc Merge branch 'f-vagrant-gem' 2012-02-07 22:42:34 -08:00
Mitchell Hashimoto 6224f79557 Up version for development. 1.0 folks. 2012-02-07 21:32:50 -08:00
Mitchell Hashimoto 600e8ae036 v0.9.6 2012-02-07 21:30:29 -08:00
Mitchell Hashimoto 6f45cdc1ed Some code cleanup 2012-02-07 21:20:33 -08:00
Mike Lundy 00953073e7 Add Gentoo support for NFS 2012-02-07 21:14:47 -08:00
Mitchell Hashimoto c9fe21cf72 Merge pull request #719 from semarj/master
Fix the ifdown/ifup issue for once and for all?
2012-02-07 21:00:07 -08:00
semarj 64a26dae18 Update lib/vagrant/guest/redhat.rb 2012-02-07 17:42:28 -06:00
Mitchell Hashimoto a25a691913 Don't forward ports if there aren't any to forward 2012-02-07 15:40:35 -08:00
Paul Handly a0e60d641d Uncolorize puppet provisioner output 2012-02-07 14:52:16 -08:00
John Bender ea9dadd41e update the action_env test helper for the new environment structure 2012-02-06 22:47:25 -08:00
Mitchell Hashimoto a3d9615a13 Custom help for `vagrant gem` on top of RubyGems help 2012-02-06 22:52:34 -05:00
Mitchell Hashimoto 13fddfa6f9 Load plugins with the private gem path.
This changed plugin loading semantics a tiny bit, since they are
no longer loaded when Vagrant is loaded but instead when the
Vagrant::Environment is initialized. I'll note this in the CHANGELOG.
2012-02-06 22:39:35 -05:00
Mitchell Hashimoto 261a83d60f Logging statements in plugin loading 2012-02-06 22:31:45 -05:00
Mitchell Hashimoto 4444e7150c `vagarnt gem` cannot be called within a bundler env 2012-02-06 22:22:28 -05:00
Mitchell Hashimoto d19f7a44e5 Starting on the `vagrant gem` command. 2012-02-06 22:16:37 -05:00
Mitchell Hashimoto fd54cf0809 `vagrant ssh` now uses a direct exec() [GH-751]
Before, I was using the "super exec" by passing a single string.
Ruby handles this by actually invoking the command with a shell.
This causes some odd issues with file pathes with spaces and
expansion and other things. This no longer happens.
2012-02-06 15:27:28 -05:00
Mitchell Hashimoto 3eff28ac0d Don't strip color codes with ANSI escape code remover 2012-02-05 13:30:21 +01:00
Mitchell Hashimoto 6c1eafe00e Update CHANGELOG 2012-02-05 13:23:53 +01:00
Joe Kutner 36f43fa676 moved the closing of subprocess streams to after the process has finished. 2012-02-05 13:21:50 +01:00
Mitchell Hashimoto 3ea04f2577 Up version for dev 2012-02-05 13:17:00 +01:00
Mitchell Hashimoto fb3d2234cf v0.9.5 2012-02-05 13:15:42 +01:00
Mitchell Hashimoto 987abb8abc Fix typo in puppet server I18n 2012-02-04 17:51:45 +01:00
Mitchell Hashimoto a6a42b31df Ability to specify `:bridge` to networking [GH-655] 2012-02-04 15:04:28 +01:00
Mitchell Hashimoto 26d9636faf Better logging with the bridged networking layer 2012-02-04 14:51:55 +01:00
Mitchell Hashimoto 90d7742c9c More intelligent puppet server cert name handling 2012-02-04 13:57:02 +01:00
Mitchell Hashimoto ab8b1d3ea6 Fix some issues with puppet server config inheritance 2012-02-04 13:51:36 +01:00
withnail e90c36ac77 puppet_server certname changes
At present, puppet_node is defined by default and must almost always be
overwritten. This changes the logic for puppet_server so puppet_node is
initially undefined and the node name will be set based on this order

1. puppet_node if defined
2. host_name if defined (actually this removes the explicit certname
specification which is cleaner and uses the machine hostname)
3. config.vm.box
2012-02-04 13:50:15 +01:00
withnail 77c1b7c9e2 Only list bridged interfaces that are up [GH-701] 2012-02-01 15:38:57 -08:00
semarj 535bda2a4e properly restart the interface. Was failing with /sbin/ifup 2012-01-31 22:36:38 -06:00
Scott Sanders 2d327055f3 Do not allow BSD hosts to double-quote in exports
This is not allowed on *BSD
2012-01-30 19:52:59 -08:00
Scott Sanders 0ec02fe711 Update comment to better reflect the actual issue 2012-01-30 19:52:36 -08:00
Scott Sanders 28c377848f Update FreeBSD guest to support networking
The latest update to 0.9.x broke FreeBSD networking. This patch fixes
things by moving the code into the right method.
2012-01-30 19:51:58 -08:00
Mitchell Hashimoto f9a42973d9 Select NFS version with :nfs_version 2012-01-29 13:34:50 -08:00
Mitchell Hashimoto 3a8c44301b Fix some issues with NFS version selecting 2012-01-29 13:33:35 -08:00
Russ Garrett ced99edd59 Allow user to choose NFS protocol version, defaulting to 3
NFSv4 has siginificant added complexity in the form of ID-mapping which
can cause problems with applications without extra setup. Best to
force version 3 unless the user requests it.

Conflicts:

	lib/vagrant/systems/linux.rb
2012-01-29 13:27:42 -08:00
Mitchell Hashimoto f095939800 Update changelog for GH-690 2012-01-28 21:50:57 -08:00
sathlan 4715400761 The type of nic can be set for bridged network.
:nic_type can be specified in the network bridged type. Its value can
be Am79C970A, Am79C973, 82540EM, 82543GC, 82545EM, virtio.
2012-01-28 21:50:04 -08:00
Mitchell Hashimoto d687473760 Fix crashing issue when all networks don't aut config [GH-689] 2012-01-28 21:48:12 -08:00
Mitchell Hashimoto f8619007a7 Update version for dev 2012-01-28 17:39:47 -08:00
Mitchell Hashimoto 261dadb1c6 v0.9.4 2012-01-28 17:38:53 -08:00
Mitchell Hashimoto 912e4974db Registry will now cache result values.
This is actually required so that we can do things like this
in plugins:

Vagrant.actions[:up].insert(Foo, Bar)
2012-01-28 17:31:50 -08:00
Mitchell Hashimoto 88ba3a3619 Change middleware internals to make plugin lives easier [GH-684] 2012-01-28 17:31:50 -08:00
Mitchell Hashimoto e9ae63f3b5 Merge pull request #688 from schisamo/transient-shared-folder-support
add vbox driver support for creating transient shared folders
2012-01-28 16:50:27 -08:00
Mitchell Hashimoto 6d7a3d9b64 More accurate VBoxManage error detection. 2012-01-27 12:40:42 -08:00
Seth Chisamore 14c4dc5d53 add vbox driver support for creating transient shared folders 2012-01-27 11:53:42 -08:00
Mitchell Hashimoto e1dbc7f9b1 Fix some puppet translation 2012-01-27 10:52:27 -08:00