132 Commits

Author SHA1 Message Date
Tony La
593e2e628f Ruby 1.8.6 Hash#select returns an array of results
Which results in a "odd number of arguments for Hash" error.
2011-05-11 23:58:12 -07:00
Jason Yan
b1bc49c0f3 Fix issue with port forwarding not respecting protocol option. 2011-02-25 19:30:27 -08:00
Mitchell Hashimoto
22f085dc5d Tests for mac address setting on host only network 2011-02-08 19:42:32 -08:00
Vishvananda Ishaya
e2d5c12870 support macs in xx:xx:xx:xx:xx:xx format as well 2011-02-08 19:27:24 -08:00
Vishvananda Ishaya
6416bf8ef6 it is mac_address not mac 2011-02-08 19:27:18 -08:00
Vishvananda Ishaya
211f9d46af allow specification of mac in network command 2011-02-08 19:26:45 -08:00
Mitchell Hashimoto
6d6ca39795 Host only networking only doesn't work on 64-bit Windows 2011-01-29 21:03:27 -08:00
Mitchell Hashimoto
8d55bdcae5 Style tweaks and tests added for changing host name 2011-01-28 17:41:48 -08:00
Michael Bearne
f757184c06 added support for changing host name on up for Debian, Ubuntu and RedHat 2011-01-14 17:51:19 +00:00
Mitchell Hashimoto
a91ad4d89f Fixed provisioners to the new conventions. Tests passing! 2011-01-11 22:37:09 -08:00
Mitchell Hashimoto
cddccab9ae Provision action works again 2011-01-11 22:13:09 -08:00
Mitchell Hashimoto
85b8ccc2ec Provisioners now register themselves with their shortcut name 2011-01-11 19:52:55 -08:00
Michael Bearne
eda6b81093 re-implemented redhat distribution of host only network with additional check to see if network interface is up as on intial setup when not using dhcp the interface will be down as dhcp lookup will time out. To prevent vagrant time out on boot you need to add file /etc/dhclient.conf with value content timeout 1; to guest this is beacuse the default is 60 seconds this should be done in the base box 2011-01-10 17:15:15 +00:00
Mitchell Hashimoto
b1627ca41b Sleep less time while waiting for the VM to boot 2011-01-09 12:48:21 -08:00
Mitchell Hashimoto
dc4bf530fb Use the env["key"] style instead of env.env.key 2011-01-09 12:35:48 -08:00
Mitchell Hashimoto
968499bd5c Hash#select returns an array on 1.8.7 and a hash on 1.9.2. Make sure it is always a Hash. 2011-01-08 21:27:44 -08:00
James Turnbull
3849355ef6 Basic Puppet Server provisioner 2011-01-06 13:33:22 -08:00
Mitchell Hashimoto
e0c716e454 Fix automount select to accept key/val instead of just val 2011-01-04 20:10:34 -08:00
Mitchell Hashimoto
fb8f0c010b Reload config after downloading box during up [closes GH-231] 2010-12-31 21:41:05 -06:00
Mitchell Hashimoto
e12d96d4df Only automount NFS folders which have guest path specified 2010-12-31 02:24:49 -06:00
Mitchell Hashimoto
c1be64ae61 Shared folders with no guest path are not automounted [closes GH-184] 2010-12-31 02:19:27 -06:00
Mitchell Hashimoto
e19788701e Don't disable networks on halt/destroy. 2010-12-24 19:02:11 -08:00
Mitchell Hashimoto
c32ab0442c Change the mechanism by which useless host only networks are detected and destroyed 2010-12-24 18:57:44 -08:00
Mitchell Hashimoto
2018fd8645 "vbox-prev" bug still exists, but filename changes for VB4 2010-12-24 18:35:46 -08:00
Mitchell Hashimoto
e4488c415e Update destroy to use new API for VB4 2010-12-24 15:19:31 -08:00
Mitchell Hashimoto
7c7f5d48fe Don't need to call ".new" on raising exceptions 2010-12-21 20:04:21 -08:00
Mitchell Hashimoto
2358130c0e Show error if host only networking on Windows 2010-12-21 19:52:41 -08:00
James Turnbull
6548bc9324 Adds a basic Puppet provisioner to Vagrant
This uses the Puppet binary and assumes a .pp file will be present
on the host machine.

By default it looks for manifests in the `manifests` directory (in the same root as
wherever your Vagrantfile is located). The default file uses the name of the box
being configured, for example `lucid.pp`.  Both options are configurable.
2010-12-07 16:57:00 -08:00
Mitchell Hashimoto
331e0841e5 Box collection reloads after downloading during CheckBox. [closes GH-229] 2010-11-30 20:19:24 -08:00
Mitchell Hashimoto
341e7916f4 Port collision type mismatches fixed. [closes GH-185] 2010-10-09 01:21:52 -07:00
Mitchell Hashimoto
5fcf10d6cd Validations to assure base MAC address is set 2010-10-08 10:44:19 -07:00
Mitchell Hashimoto
eaaf55ea8a up --no-provision works again. This disables provisioning during the process. 2010-10-03 18:34:33 -07:00
Mitchell Hashimoto
bad251a20d NFS no longer attempts to clean exports file if VM is not created, which caused a stack trace during recovery. 2010-09-30 01:16:45 -07:00
Mitchell Hashimoto
ea6904761f Check box action no longer needs to load_box! 2010-09-27 13:42:53 -07:00
Mitchell Hashimoto
d003cc4f32 UI methods no longer automatically translate. Makes it easier for plugin developers. 2010-09-21 18:12:24 -06:00
Mitchell Hashimoto
036edfcc2a Only destroy the VM if the exception raised is not a Vagrant error 2010-09-14 00:48:31 -06:00
Mitchell Hashimoto
4b8878f5f7 Import uses the string path, rather than the pathname 2010-09-12 16:37:43 -06:00
Mitchell Hashimoto
714c94780c On import, only run destroy action if VM is created 2010-09-12 16:34:49 -06:00
Mitchell Hashimoto
7d73bec776 Disable networks only if VM is created 2010-09-12 16:31:38 -06:00
Mitchell Hashimoto
e11d3bd4f7 Only halt if created and running 2010-09-12 16:29:35 -06:00
Mitchell Hashimoto
4335adc8f4 Only discard state if the VM is created 2010-09-12 16:26:32 -06:00
Mitchell Hashimoto
5ce43a8ae0 Utilize pathname when available instead of doing just a File.join 2010-09-11 10:42:03 -07:00
Mitchell Hashimoto
761da0de63 Remove method calls to "Box.find" and remove method 2010-09-11 10:21:35 -07:00
Mitchell Hashimoto
5f6e3acf40 Require root path on environment load 2010-09-07 10:52:58 -07:00
Mitchell Hashimoto
52e3c4d3b3 Persisting a VM uuid is now implicitly done by Vagrant::VM 2010-09-02 21:12:11 -07:00
Mitchell Hashimoto
d5f351786c Fix "provisioning enabled with" message to have proper string 2010-09-02 13:48:41 -07:00
Mitchell Hashimoto
f00955dfa1 Remove superfluous util module includes 2010-09-01 14:52:44 -07:00
Mitchell Hashimoto
e7f06d7fb7 Remove ExceptionCatcher since exceptions are the way to report errors now 2010-09-01 10:04:37 -07:00
Mitchell Hashimoto
39663f6f11 Finish replacement of "env.error!" with exceptions in VM actions 2010-09-01 07:13:37 -07:00
Mitchell Hashimoto
b72cf4c57c Convert NFS to new Warden style with 'recover' method 2010-08-30 20:09:26 -07:00