248 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto
aa00d15206 Few more VM actions converted to exceptions. Lots of errors gone. 2010-08-30 20:07:50 -07:00
Mitchell Hashimoto
72c3340336 About 1/3rd of the VM actions raise exceptions now 2010-08-30 19:39:11 -07:00
Mitchell Hashimoto
21e4477c39 Rip out unison syncing. It never got to see the light of day. Just didn't work out. (NFS replaced it) 2010-08-27 23:31:38 -07:00
Mitchell Hashimoto
1d29ba31fa I18nified all the VM actions 2010-08-27 19:46:50 -07:00
Mitchell Hashimoto
3fdcd50ea0 Add a report progress feature to the UI 2010-08-25 22:20:14 -07:00
Mitchell Hashimoto
9ab5a7c2b1 Switch the actions over to using the new UI objects. 2010-08-25 22:13:55 -07:00
John Bender
5c56e46739 Merge branch 'warden' 2010-08-25 00:26:07 -07:00
Mitchell Hashimoto
4844d6c12f Moved standard library requirements to the files which use them. Cleaned up vagrant.rb quite a bit. 2010-08-23 21:43:46 -07:00
John Bender
c248db2bf9 recover argument count wrong 2010-08-22 00:52:37 -07:00
John Bender
30a84c6e50 moved export to warden 2010-08-22 00:37:15 -07:00
John Bender
c519f14626 moved rescue to recover 2010-08-22 00:08:54 -07:00
John Bender
99f7b62c83 first middleware, import, moved to rescue for cleanup 2010-08-22 00:08:54 -07:00
Mitchell Hashimoto
22a9e3fe3d Fix regression with package not working. [closes GH-132] 2010-08-02 19:44:15 -07:00
Mitchell Hashimoto
6522a2f6e5 Quiet output slightly on destroy, halt, and reload 2010-07-31 08:36:33 -07:00
Mitchell Hashimoto
96ea715e30 Fixed vagrant resume to properly resume a suspend VM [closes GH-122] 2010-07-29 20:26:02 -07:00
Mitchell Hashimoto
8ea6d2bc40 Properly discard VM state if saved on various commands such as destroy [closes GH-123] 2010-07-29 20:15:38 -07:00
Mitchell Hashimoto
01203c117c VM::Package middleware which will properly setup env data for General::Package 2010-07-28 07:24:57 -07:00
Mitchell Hashimoto
523cb1042a Moved the packaging action out to the General namespace, since it is now generalized 2010-07-27 23:54:24 -07:00
Mitchell Hashimoto
39bf56f786 Remove unused method from package 2010-07-27 23:28:58 -07:00
Mitchell Hashimoto
9895f93e1d Separate vagrantfile creation in packaging and actual packaging 2010-07-27 23:22:10 -07:00
Mitchell Hashimoto
1cbc60de1c Remove config.package.extension option. Use config.package.name instead. 2010-07-24 09:24:43 -07:00
Mitchell Hashimoto
f472dbde44 Download the box specified by the URL if it doesn't yet exist [closes GH-113]
Thanks a lot to Vitor Pellegrino for much of the work on this.
2010-07-23 22:23:13 -07:00
Mitchell Hashimoto
4ec6196b3b Add CheckBox to up command and make the typical require_box checks 2010-07-23 22:06:17 -07:00
Vitor Pellegrino
23296093b1 Checking if a box already exists at the checking middleware 2010-07-23 21:44:13 -07:00
Mitchell Hashimoto
9a81a1f49a Export doesn't continue chain if error occured 2010-07-22 09:02:28 -07:00
Mitchell Hashimoto
940693287d Export returns immediately if an error is there prior to the export [closes GH-117] 2010-07-22 09:00:23 -07:00
Mitchell Hashimoto
c1d454dbee Speed up tests by adding "vagrant.test" middleware env to avoid sleeps. 2010-07-21 21:42:14 -07:00
Mitchell Hashimoto
d09ebe1021 Can now ctrl-C during SSH attempts [closes GH-115] 2010-07-21 21:38:01 -07:00
Mitchell Hashimoto
4e8b6f32b4 Disable host only networks on halt [closes GH-116] 2010-07-21 21:17:34 -07:00
Mitchell Hashimoto
f2242662f8 Don't return when finding disabled shared folder, continue to include others 2010-07-21 15:50:27 -07:00
Mitchell Hashimoto
c875e4345a Expand the NFS shared folder path relative to root path during the extraction. 2010-07-20 13:18:00 -07:00
Mitchell Hashimoto
bba97a28c7 Run the destroy sequence instead of the specific action for handling SIGINT in import 2010-07-18 08:54:24 -07:00
Mitchell Hashimoto
cb730c3410 If SIGINT is called during a sequence with an import, VM is properly destroyed 2010-07-18 08:39:31 -07:00
Mitchell Hashimoto
769431ce7c Boot verifies not erroneous environment before booting 2010-07-18 08:24:47 -07:00