78 Commits

Author SHA1 Message Date
Mitchell Hashimoto
2cfa79ac6d Setting hostname on Debian (not Ubuntu) should now work [closes GH-307] 2011-02-28 23:38:30 -08:00
Mitchell Hashimoto
baa2041c37 FreeBSD system 2011-01-21 16:03:50 -08:00
Mitchell Hashimoto
627b75d945 System superclass check can be done prior to instantiating
This also fixes a 1.8.7 incompatibility.
2011-01-11 11:45:53 -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
2fe2246bbd Debian system. Linux distro dispatch to debian/gentoo 2011-01-09 13:19:50 -08:00
Mitchell Hashimoto
272b421e0b Stylistic change on System mappings 2011-01-09 13:10:52 -08:00
Tino Breddin
6c57154dac Register Gentoo system. 2011-01-09 13:10:19 -08:00
Mitchell Hashimoto
d00f314eb9 Systems can now respond to distro_dispatch to return specific distro systems 2011-01-09 13:06:26 -08:00
Mitchell Hashimoto
7c7f5d48fe Don't need to call ".new" on raising exceptions 2010-12-21 20:04:21 -08:00
Lincoln Stoll
9dae6635b5 Register Solaris system. 2010-12-07 16:50:34 -08:00
Mitchell Hashimoto
39407694e3 Validate only certain command sequences [closes GH-188] 2010-10-13 18:59:25 -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
5a13347fb4 Fix issue with local data store not being properly cleared for VM destruction 2010-09-07 01:02:11 -07:00
Mitchell Hashimoto
ed48170b24 Remove environment "vm_name" property since it was redundant 2010-09-05 23:11:27 -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
bb97b388f9 Convert VM errors to I18n exceptions 2010-09-01 14:26:53 -07:00
Mitchell Hashimoto
cf32abb210 vagrant up can be used the same as vagrant resume [closes GH-134] 2010-08-03 19:43:39 -07:00
Mitchell Hashimoto
50af3987fc VM is no longer an action runner 2010-07-07 23:23:59 -07:00
Mitchell Hashimoto
b96acce79f Packaging middleware and modifying VM#package to use it 2010-07-07 20:47:53 -07:00
Mitchell Hashimoto
a11fb717b0 Resume middleware 2010-07-06 21:27:20 -07:00
Mitchell Hashimoto
3ed9222ea5 Suspend middleware 2010-07-06 21:22:55 -07:00
Mitchell Hashimoto
d313a106a3 Provision registered actions 2010-07-06 21:12:51 -07:00
Mitchell Hashimoto
642db533ee Start, reload, halt now use middleware stacks 2010-07-06 20:35:31 -07:00
Mitchell Hashimoto
da27f248e7 VM#destroy and VM#up now use the new middleware stack 2010-07-05 19:44:47 +02:00
Mitchell Hashimoto
455a44cc5d Add --no-provision flag to vagrant up. Refactor the way action options work a bit. [closes GH-87] 2010-05-26 20:58:27 -07:00
Andrew Clay Shafer
c863457157 Added provision command
Will rerun provisioner on running vms
2010-05-22 00:52:30 -07:00
Mitchell Hashimoto
6e757e7ab7 Remove logger from the VM and put it on the environment 2010-05-20 20:35:15 -07:00
Mitchell Hashimoto
a1794dca80 VMs have their own loggers 2010-05-20 15:49:27 -07:00
Mitchell Hashimoto
586a56b5b5 vagrant reload works with multi-vm 2010-05-17 10:41:19 -07:00
Mitchell Hashimoto
81e1e8932a Can now specify which VMs to up with vagrant up or will up all by default 2010-05-16 18:34:35 -07:00
Mitchell Hashimoto
3b4d2ab795 vagrant halt updated to work with multi-VM 2010-05-16 18:22:28 -07:00
Mitchell Hashimoto
709c50e7b6 vagrant status updated to work with multi-VM. Global status not yet functional. 2010-05-16 17:40:40 -07:00
Mitchell Hashimoto
3e4a20d919 Slight cosmetic changes to get things working with emacs highlighter and commenting 2010-05-14 23:25:12 -07:00
Mitchell Hashimoto
c8e36274d6 Get rid of Environment#create_vm. VMs instances are now always available 2010-05-08 20:31:12 -07:00
Mitchell Hashimoto
124a9ab19d Environment properly loads VMs 2010-05-08 15:34:43 -07:00
Mitchell Hashimoto
b313d34d5b Environment config loading loads the subconfig if specified. VMs now create a new env for themselves. 2010-05-08 14:57:31 -07:00
Mitchell Hashimoto
af383e222a Get rid of more references to Vagrant.config. Only one remains. 2010-05-07 22:57:25 -07:00
Mitchell Hashimoto
2e547bda26 SSH object is now on the VM, rather than the environment 2010-05-07 21:40:32 -07:00
Mitchell Hashimoto
0736f8582d Shared folder action uses new system abstraction 2010-04-25 02:08:59 -07:00
Mitchell Hashimoto
95938c652d New abstraction: Systems. Updated config and environment to properly load configured system.
This allows the OS-specific tasks to be pulled out into separate classes, so that other systems could potentially be supported. For now, a "Linux" system has been created.
2010-04-25 01:46:51 -07:00
Mitchell Hashimoto
689f69bd4c Loading VMs and created VMs now point back to the environment they belong to 2010-03-19 01:31:44 -07:00
Mitchell Hashimoto
51116438a7 Port collision detection ignores if the VM is the current VM 2010-03-15 01:00:40 -07:00
Mitchell Hashimoto
62d3172e57 VM now has a uuid method 2010-03-14 16:28:36 -07:00
Mitchell Hashimoto
a71815df4e Additional shared folders can now be configured through the config.vm.share_folder method 2010-03-10 13:49:52 -08:00
Mitchell Hashimoto
2f7de333ec Fix issue with infinite looping on vagrant resume 2010-03-08 18:45:59 -08:00
Mitchell Hashimoto
0a54ea1464 vagrant-down now uses reusable actions (a Down action) 2010-03-05 16:47:47 -08:00
Mitchell Hashimoto
da2150da89 Resume uses the resume action now 2010-03-04 21:22:25 -08:00
Mitchell Hashimoto
0a791d1c58 Suspending moved out to an action, command takes advantage of this action now. 2010-03-04 21:13:17 -08:00
Mitchell Hashimoto
8e7621061f vagrant-up and vagrant-halt no longer raise exceptions when the VM is not in the proper state. 2010-03-02 22:19:13 -08:00
Mitchell Hashimoto
c7f040f14c vagrant-up now starts the VM if its already created, rather than giving an error. 2010-03-02 22:07:04 -08:00