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
Mitchell Hashimoto
c119a34f0e
Added vagrant-halt to forcibly shut down vagrant instance.
2010-03-02 21:53:16 -08:00
John Bender
79718eb4c3
--include added to package tests passing, but still needs manual verification
2010-02-27 22:49:43 -08:00
Mitchell Hashimoto
e4548508f2
Removed some delegated methods on VM to explicitly use vm attribute in actions so its more runner-agnostic.
2010-02-24 00:34:54 -08:00
Mitchell Hashimoto
26f9eca141
Reworked vagrant package to use the new tmp directory.
2010-02-24 00:30:58 -08:00
Mitchell Hashimoto
35762a4308
Moved VM actions into the Actions::VM namespace.
2010-02-22 16:25:47 -08:00
Mitchell Hashimoto
f1fda1f0fa
Pulled out action running from VM into its own Actions::Runner class
2010-02-21 22:56:22 -08:00
John Bender
a690b13f78
unpackage added, still uses zlib
2010-02-17 15:45:06 -08:00
Mitchell Hashimoto
e825847dac
VM instances can execute a single command now (VM#execute!(foo)) and added "stop" action to force immediate shutdown of VM.
2010-02-16 13:21:27 -08:00
John Bender
1c045bd447
refactored package into actions: export, package
2010-02-15 22:53:52 -08:00
Mitchell Hashimoto
a67dd3cb6f
Removed old VM code for VM creation. Lots of code removed!
2010-02-15 22:51:48 -08:00
Mitchell Hashimoto
0ceee33a51
VM#invoke_callback now returns an array of the results of the actions which implemented the callback.
2010-02-15 22:33:37 -08:00
Mitchell Hashimoto
063ea60d40
Initial attempt at refactoring commands out into evented actions. Heavy documentation on the "vagrant/actions/base.rb" class. New VM action runner functionality is well tested, as well.
2010-02-15 22:32:12 -08:00
Mitchell Hashimoto
dd5abc5452
Implemented "around" callbacks on VM for convenient before_foo and after_foo callbacks
2010-02-15 19:02:23 -08:00
Mitchell Hashimoto
874eb70911
Additional options can be passed into actions as additional arguments to the constructor
2010-02-15 18:19:59 -08:00
Mitchell Hashimoto
816b29eb18
Removed duplicate code (from a merge conflict)
2010-02-15 15:31:35 -08:00
Mitchell Hashimoto
3c42db7dfe
Merge branch 'runners' which brings in the "actions" model.
2010-02-15 15:25:22 -08:00
John Bender
c9d0d0d9d9
packaging and unpackaging
2010-02-15 14:49:47 -08:00
Mitchell Hashimoto
86524048ae
Removed old VM code for VM creation. Lots of code removed!
2010-02-15 00:04:13 -08:00
Mitchell Hashimoto
11f4876b9d
vagrant-up now uses pure actions rather than the hardcoded sequential instant methods. Provisioning not yet working, and moving hard drives not yet implemented.
2010-02-14 23:12:36 -08:00
Mitchell Hashimoto
cb2f1ff402
Fixed a bug with forwarded ports action
2010-02-14 22:59:01 -08:00
Mitchell Hashimoto
4ea450ba2a
VM#invoke_callback now returns an array of the results of the actions which implemented the callback.
2010-02-13 11:20:24 -08:00
Mitchell Hashimoto
af1fcd0ae0
Initial attempt at refactoring commands out into evented actions. Heavy documentation on the "vagrant/actions/base.rb" class. New VM action runner functionality is well tested, as well.
2010-02-12 19:53:34 -08:00
John Bender
a4b9375abf
spelling correction
2010-02-12 00:24:17 -08:00
John Bender
9e3a57fc36
package command
2010-02-12 00:14:08 -08:00