169 Commits

Author SHA1 Message Date
Mitchell Hashimoto
2d1ed88bcd Forwarded ports no longer require a name paramter 2012-01-03 10:22:42 -08:00
Mitchell Hashimoto
b36e3c447e Add a deprecation error for the old style of configuring host only networks 2011-12-30 23:39:16 -08:00
Mitchell Hashimoto
b5b3805157 Add validation once again for host only networks 2011-12-31 10:55:37 +09:00
Mitchell Hashimoto
8f522225a1 Fix issue that could cause config loader to fail if no block given to a subvm 2011-12-26 18:07:39 -08:00
Mitchell Hashimoto
ca938f041c Check currently forwarded ports when looking for collisions [GH-606] 2011-12-25 13:13:01 -08:00
Mitchell Hashimoto
4093e79027 Removed deprecation notice for chef_server to chef_client 2011-12-21 23:27:43 -08:00
Mitchell Hashimoto
e1d0ce19ce Customizations are back in! 2011-12-21 16:25:58 -08:00
Mitchell Hashimoto
48ea8173c6 Lots more VBoxManage 2011-12-21 13:37:59 -08:00
Mitchell Hashimoto
f37778c848 Don't output json_class with the config json 2011-12-16 17:38:19 -08:00
Mitchell Hashimoto
5fe50c8b5d Change config.vm.system to config.vm.guest. Rename internals. 2011-12-15 20:55:16 -08:00
Mitchell Hashimoto
eda286b476 Config classes are registered via a registry now 2011-12-15 20:32:33 -08:00
Mitchell Hashimoto
a23ebf7220 Fix chef configuration 2011-12-14 23:31:21 -08:00
Mitchell Hashimoto
b428072bb5 Provisioners use the registry. Cleaned up the way config classes are searched for. 2011-12-14 22:43:45 -08:00
Mitchell Hashimoto
e5c2f38d7c Fix validate calls to provisioners 2011-12-11 16:33:50 -08:00
Mitchell Hashimoto
05ae297fd2 Copy insecure private key to user owned directory [GH-580] 2011-12-11 16:32:25 -08:00
Mitchell Hashimoto
f2666a9b74 Config validation is back in. 2011-12-10 13:21:45 -08:00
Mitchell Hashimoto
b4c5b854e2 SSH working with new changes 2011-12-10 12:49:35 -08:00
Mitchell Hashimoto
d92f3d8c6d Box add works again with new env stuff 2011-12-09 17:33:30 -08:00
Mitchell Hashimoto
b61d9a6d3d load_vms. Broke so many things.
I've changed Vagrant::VM to be slightly more in line with what I
imagined. However, doing this change has definitely broken _everything_.
We now slowly must cobble back together based on this new API.
2011-12-03 19:30:42 -08:00
Mitchell Hashimoto
99982fb26e VM-specific configuration now works. 2011-12-03 19:05:50 -08:00
Mitchell Hashimoto
73a672cff1 load_config! is kind of working again.
Specifically: Global configuration load appears to be working. More
unit tests should reveal if proper VM configuration is loading.
2011-12-03 18:31:17 -08:00
Mitchell Hashimoto
02cc1447dc Configuration files are only loaded once 2011-12-03 17:42:16 -08:00
Mitchell Hashimoto
15c56a1f4c Configuration loads. Lots of refactor to do still. 2011-12-03 17:29:28 -08:00
Mitchell Hashimoto
1a8c4199b2 Introduce Config::Loader
Config::Loader will be the new class responsible for loading configuration
and replaces the previous dual-role "Vagrant::Config" played. While this
commit is very early-stage, once this new architecture is flushed out, it
will make loading, using, and extending configuration much easier and cleaner.

Additionally, I believe this will help post Vagrant 1.0 if multi-language
configuration is implemented.
2011-12-03 17:12:48 -08:00
Mitchell Hashimoto
722ea85a6a Remove "disk_image_format" config, since it isn't used. [closes GH-478] 2011-08-27 19:55:36 -07:00
Mitchell Hashimoto
6217a91b5c ssh: get proper $PATH for exec! [closes GH-426] 2011-07-25 21:22:16 -07:00
Mitchell Hashimoto
14ca7ecc24 Better validation for networking configuration 2011-07-22 23:53:19 -07:00
Mitchell Hashimoto
6300bebe72 Disable SSH caching for now 2011-07-21 14:55:03 -07:00
Mitchell Hashimoto
0dacd78b10 Add forwarded_port_destination to find SSH port by that instead of key. [closes GH-375] 2011-07-10 22:41:35 -07:00
Mitchell Hashimoto
c2bccdc65a Forward agent and forward X11 properly appear in ssh_config output. [closes GH-105] 2011-07-06 00:36:05 -07:00
Mitchell Hashimoto
9e780606f4 Note that NFS doesn't support owner/group settings 2011-07-06 00:07:36 -07:00
Mitchell Hashimoto
8733a745ce Can now specify owner/group of shared folders. [closes GH-350] 2011-07-05 23:53:23 -07:00
Mitchell Hashimoto
8bb2403ce0 Add error message specifically for chef_server change 2011-07-03 17:29:05 -07:00
tH34UT0m4t0R
e72753874d add port option to ssh config 2011-05-13 17:23:24 -07:00
Jason Yan
b1bc49c0f3 Fix issue with port forwarding not respecting protocol option. 2011-02-25 19:30:27 -08:00
Mitchell Hashimoto
3c45df0a88 Can now configure what shell to sudo with (default: bash) 2011-02-08 23:06:05 -08:00
Vishvananda Ishaya
5c1e2cdd07 missed a > 2011-02-08 19:26:49 -08:00
Vishvananda Ishaya
211f9d46af allow specification of mac in network command 2011-02-08 19:26:45 -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
9673b7eaee Remove config.ssh.port, it actually never did anything 2011-01-14 00:36:49 -08:00
Mitchell Hashimoto
8d24f779f0 Provisioner config object should have access to the top config 2011-01-13 16:54:34 -08:00
Mitchell Hashimoto
a4a02675ad Add a nice full error message for the old-style provisioner setting 2011-01-12 01:19:21 -08:00
Mitchell Hashimoto
047f9970fe Support hash based options for provisioners 2011-01-12 01:02:53 -08:00
Mitchell Hashimoto
f7666df24b Fix 1.8.7 compatibility issue 2011-01-12 00:14:08 -08:00
Mitchell Hashimoto
658affe8cd Provisioner config tests, fixed some bugs 2011-01-11 23:11:51 -08:00
Mitchell Hashimoto
cddccab9ae Provision action works again 2011-01-11 22:13:09 -08:00
Mitchell Hashimoto
d951d058ce Initial work on this. Tests are completely broken. 2011-01-11 21:07:12 -08:00
Mitchell Hashimoto
37b94ffc6b Get rid of unused ivar 2011-01-11 19:12:50 -08:00
Mitchell Hashimoto
af32d1f8ca Pull VM config child classes into their own files 2011-01-11 12:17:12 -08:00
Mitchell Hashimoto
8d529931ef Be gone glob loader! Move everything to autoload or explicit require. 2011-01-07 01:12:16 -08:00