104 Commits

Author SHA1 Message Date
Mitchell Hashimoto
3db8db9cdc Fix reference to a class that doesn't exist 2012-01-19 14:21:26 -08:00
Mitchell Hashimoto
8f5232c5cf vagrant package --base 2012-01-13 17:55:01 -08:00
Mitchell Hashimoto
7bdbec4229 Start switching the old SSH API to the new one 2012-01-06 20:07:32 -08:00
Mitchell Hashimoto
19c1340e40 Vagrant::SSH no longer handles actual communication with the VM 2012-01-06 20:07:32 -08:00
Mitchell Hashimoto
3ffa533011 ssh-config now uses the new ssh_info method 2012-01-06 20:07:31 -08:00
Mitchell Hashimoto
47a368fbfd VM raises SSHPortNotDetected if ssh_info can't get the port
Also, I updated the wording on that error message a bit since it
turns out that it is possible through user error that there will
be no SSH port.
2012-01-06 20:07:31 -08:00
Mitchell Hashimoto
acaabd5aa3 Remove forwarded_port_key/destination from config, replace with guest_port 2012-01-06 20:07:31 -08:00
Mitchell Hashimoto
00a31ff27b Communication abstraction. Started SSH. 2012-01-06 20:07:31 -08:00
Mitchell Hashimoto
36632c4bb7 Handle the case properly where the VM in .vagrant doesn't exist anymore 2011-12-22 13:03:08 -08:00
Mitchell Hashimoto
d5981978a1 Resuming works better 2011-12-21 14:15:03 -08:00
Mitchell Hashimoto
8360bcf61b Fix guest loading w/ VBoxManage 2011-12-21 13:54:51 -08:00
Mitchell Hashimoto
c59defa7e8 Drivers now take a UUID 2011-12-20 21:20:45 -08:00
Mitchell Hashimoto
96868e5d29 Import and destroy work with the new driver interface 2011-12-20 21:20:45 -08:00
Mitchell Hashimoto
2de7a1424d Load VirtualBox VM in the VM class 2011-12-20 21:20:45 -08:00
Mitchell Hashimoto
9debf5abe9 Attach a driver to each VM. Use that to detect VirtualBox. 2011-12-20 21:20:45 -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
ee33588d10 Clean up system loading quite a bit 2011-12-12 00:03:28 -08:00
Mitchell Hashimoto
baba6af4ff Resource prefixes in UI output work 2011-12-10 16:17:09 -08:00
Mitchell Hashimoto
b4c5b854e2 SSH working with new changes 2011-12-10 12:49:35 -08:00
Mitchell Hashimoto
1758970a53 Fixing up VM actions to try to get them working again 2011-12-09 20:39:08 -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
dd4acb1e3d Convert remaining logger calls outside of environment to log4r 2011-12-01 21:56:56 -08:00
Mitchell Hashimoto
cdfbe4cc31 vagrant up on created machines check for inaccessible machines 2011-08-28 20:35:45 -07:00
Dave Simons
1bf3aa69ed set hostname on archlinux [closes GH-439]
Signed-off-by: Dave Simons <dave@inuits.be>
2011-07-30 12:03:18 -07:00
Mitchell Hashimoto
0515d9a61e Add more logging but default to it off for now until we add more later 2011-07-10 21:41:52 -07:00
Dan Bode
ad834feccc (368) Added local network config code for Suse.
Networking in SUSE works almost exactly like redhat.
The only difference is the location of the networking scripts.

This has been verified as working on SLES11sp1, but requires a previously configured
eth1 interface (as with redhat)

I have also verified that I can still bring up a localnet on rhel 4,5
2011-07-03 17:35:59 -07:00
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