36 Commits

Author SHA1 Message Date
Mitchell Hashimoto
6e757e7ab7 Remove logger from the VM and put it on the environment 2010-05-20 20:35:15 -07:00
Mitchell Hashimoto
470c8de099 Environment uses new logger 2010-05-20 16:36:17 -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
0314e6ef6c Persist/depersist VM methods replaced with dotfile updates. Active list information disabled for now. 2010-05-16 16:53:56 -07:00
Mitchell Hashimoto
33bfe75cbd Environment loads blank VMs for non-created VMs. 2010-05-15 01:34:31 -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
b1b4ae2077 Remove SSH object from environment 2010-05-07 21:45:40 -07:00
Mitchell Hashimoto
fee901a899 Remove remaining Vagrant.config references. There a still a couple left... 2010-04-25 17:17:18 -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
28eb56b9f8 Error if OSE version is detected 2010-04-19 17:06:27 -07:00
Mitchell Hashimoto
d8387f8280 New files for the new command structure. Ignore the vagrant-temp binary for now. 2010-04-13 01:22:53 -07:00
Mitchell Hashimoto
f8dee9adf9 Base boxes can now be packaged with vagrant package by specifying the --base parameter. 2010-04-12 16:29:33 -07:00
Mitchell Hashimoto
068c0e67c5 Update environment to use new VirtualBox methods/attributes 2010-04-08 01:13:25 -07:00
John Bender
0c00201a6b switch to File.open for downloader temp file path to prevent minitar issues on windows 2010-03-21 23:50:08 -07:00
Mitchell Hashimoto
35e9fa53d4 Vagrant::Commands moved to instance methods on the environment rather than class methods 2010-03-20 09:15:20 -07:00
Mitchell Hashimoto
1d518e2693 Box.find sets environment of found box 2010-03-20 01:04:56 -07:00
Mitchell Hashimoto
ea25f49c63 Pass environment to box.find 2010-03-20 00:50:59 -07:00
Mitchell Hashimoto
e8e2c136d3 Finally remove Vagrant::Env 2010-03-19 23:56:36 -07:00
Mitchell Hashimoto
11780fb618 Converted Box class to use new environment 2010-03-19 21:31:43 -07:00
Mitchell Hashimoto
5db99c04d4 Removing references to Vagrant::Env 2010-03-19 21:15:45 -07:00
Mitchell Hashimoto
fddee1158d vagrant package now uses the environment 2010-03-19 17:05:31 -07:00
Mitchell Hashimoto
b5daf5ae86 vagrant down command and associated actions now use the new environment 2010-03-19 16:08:29 -07:00
Mitchell Hashimoto
59ae16998d Set the environment on the loaded box 2010-03-19 15:53:24 -07:00
Mitchell Hashimoto
260b099dba SSH class converted to instance methods. now loads on the environment 2010-03-19 01:51:27 -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
2661845b5d Helper method to create a new VM on an environment. Interim method. 2010-03-19 01:27:40 -07:00
Mitchell Hashimoto
2fef27ec8b Persist/depersist VM methods implemented on new Environment 2010-03-18 18:05:34 -07:00
Mitchell Hashimoto
06947002f7 The require_* methods and check_virtualbox! integrated into new Environment 2010-03-18 17:41:51 -07:00
Mitchell Hashimoto
a31bd73587 Environment.load! implemented to load a given environment in a single step 2010-03-18 15:05:46 -07:00
Mitchell Hashimoto
cb2513b1ec Environment#load_config! loads from the box directory and home directory as well 2010-03-18 14:54:43 -07:00
Mitchell Hashimoto
047c094e41 Environment#load! implemented to set up an instance of environment 2010-03-18 14:43:17 -07:00
Mitchell Hashimoto
8c314e3e17 New Environment class can load home dir, box, and persisted VM 2010-03-18 14:27:53 -07:00
Mitchell Hashimoto
c7f32c8be8 Beginnings of Environment class. Currently loads config partially. 2010-03-18 12:38:01 -07:00