Commit Graph

2147 Commits

Author SHA1 Message Date
Mike Fiedler fbf5237de2 missing require tempfile, and fixed a typo 2012-01-07 21:18:55 -08:00
Mitchell Hashimoto 1b9a5339c9 Update CHANGELOG 2012-01-07 21:16:41 -08:00
Mitchell Hashimoto d07f0f8dd2 Support VirtualBox 4.0 2012-01-07 21:16:40 -08:00
Mitchell Hashimoto a94cf520c6 Log4r levels need to be defined before we can check for them 2012-01-07 21:16:40 -08:00
Mitchell Hashimoto 7954d4cba8 Driver forwarding to 4.1 works properly 2012-01-07 21:16:40 -08:00
Mitchell Hashimoto 5157cccaef Delegate all API methods to the proper version driver 2012-01-07 21:16:40 -08:00
Mitchell Hashimoto 767ee2509e VirtualBox base class for the driver. 2012-01-07 21:16:40 -08:00
Mitchell Hashimoto cab625c06c We should verify VirtualBox is detected before looking for the old VM 2012-01-07 21:16:28 -08:00
Mike Fiedler e05bfb7efc missing bracket closure fails rake tests 2012-01-07 21:16:28 -08:00
Mitchell Hashimoto 87b1a6660d Handle invalid log levels more gracefully 2012-01-07 21:16:22 -08:00
Mitchell Hashimoto a7bde74cf3 VirtualBox driver can handle Windows-style newlines 2012-01-07 21:16:09 -08:00
Mitchell Hashimoto 4b52c39733 More robust VBOX_INSTALL_PATH handling on Windows 2012-01-07 21:15:57 -08:00
Mitchell Hashimoto 75539c2abe Default host class is the base class 2012-01-07 13:13:17 -08:00
Mitchell Hashimoto d9f5cbce3e Initialize the connection ivar for SSH 2012-01-07 11:57:46 -08:00
Mitchell Hashimoto 186dde5e11 Up RSpec versions for test 2012-01-07 11:56:12 -08:00
Mitchell Hashimoto c9be585695 Up childprocess dep to 0.2.6 for Windows support 2012-01-07 11:54:14 -08:00
Mitchell Hashimoto 7fce25e858 Show `attempting graceful shutdown` message from action, not guest 2012-01-07 11:44:53 -08:00
Mitchell Hashimoto 0f580fd2c0 Re-use SSH connection 2012-01-07 11:38:27 -08:00
Mitchell Hashimoto 7d56dbb755 Uploaded files now use temporary files rather than StringIO 2012-01-06 21:42:25 -08:00
Mitchell Hashimoto 275ddae646 Convert everything to the new SSH API 2012-01-06 20:07:32 -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 d094432238 No longer require `forwarded_port_key` setting, its gone 2012-01-06 20:07:32 -08:00
Mitchell Hashimoto faaa763d50 SSH connect is now SSH `exec` 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 8577935121 Syntaxerror 2012-01-06 20:07:31 -08:00
Mitchell Hashimoto 3ffa533011 ssh-config now uses the new ssh_info method 2012-01-06 20:07:31 -08:00
Mitchell Hashimoto 7ed9f8bd73 SSH communication should inherit from Base 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 80ca6e1e7f Update the CHANGELOG with latest backwards incompat changes 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 396beb9faf Require tempfile in shell provisioner 2012-01-06 17:36:51 -08:00
Mitchell Hashimoto 67aa4c3819 Get rid of unavailable API 2012-01-05 23:12:28 -08:00
Mitchell Hashimoto 586f506eff Fix a terrible typo that causes vagrant ssh to fail 2012-01-05 23:08:20 -08:00
Mitchell Hashimoto d0c85afd47 IdentityFile works again in ssh-config [GH-626] 2012-01-05 23:01:35 -08:00
Mitchell Hashimoto 79e8a6ef0a Port forwarding definitions with the same guest port will override earlier 2012-01-05 22:58:38 -08:00
Mitchell Hashimoto 40a6dfaf9d Locale formatting 2012-01-05 15:10:10 -08:00
Mitchell Hashimoto 46feef4f24 Make the error message when the VM is not running more clear 2012-01-05 15:09:41 -08:00
Mitchell Hashimoto e85095d1bf Subprocess uses readpartial on IO for Windows [GH-610]
Windows doesn't support read_nonblock.
2012-01-05 23:48:30 -08:00
Mitchell Hashimoto 467542ef8d Use VBOX_INSTALL_PATH on Windows to find VBoxManage [GH-609] 2012-01-05 23:12:17 -08:00
Mitchell Hashimoto 8a0e81276e Don't output color on Windows, since the default terminal doens't support it 2012-01-05 23:03:20 -08:00
Mitchell Hashimoto 4c44f22f49 Depend on Childprocess 0.2.5 2012-01-05 22:53:38 -08:00
Mitchell Hashimoto 323663c4fb Handle MacPorts strange VirtualBox version formatting [GH-619] 2012-01-04 21:46:46 -08:00
Mitchell Hashimoto fc3bb6ca92 Code style for RedHat network configurations 2012-01-04 21:43:14 -08:00
Mike Fiedler a04fce880c Changes to enable rhel/centos-style bridged & hostonly networking 2012-01-04 21:39:36 -08:00
Mitchell Hashimoto 026a551496 `vagrant ssh -p` is now plain mode 2012-01-04 21:28:30 -08:00
Mitchell Hashimoto a6c3551064 Merge pull request #621 from bitprophet/clean-ssh-option
Allow 'vagrant ssh' to strip most non-port options.
2012-01-04 21:20:12 -08:00
Mitchell Hashimoto ef1037ff7c Cleanup puppet provisioner even more 2012-01-04 19:26:25 -08:00
Mitchell Hashimoto 36a59a89fc Merge pull request #620 from LeftyBC/master
Fixup for variable scoping in the puppet provisioner
2012-01-04 19:10:35 -08:00
Elliot Pahl 9c89ed9c06 Fix vm state check in ssh-config. 2012-01-04 19:08:19 -08:00