Commit Graph

1298 Commits

Author SHA1 Message Date
Dave Smith 971d406857 Use /etc/nodename for hostname; preferable for this situation 2011-10-30 22:40:21 -07:00
Dave Smith be078aedc4 Add solaris support for host-only networks and setting the hostname 2011-10-30 22:40:10 -07:00
Ticean Bennett dab80649b8 Added Basic Auth support to HTTP downloader. 2011-10-14 18:37:24 +02:00
Mitchell Hashimoto 28cc13ad38 Sort shared folders by length only if they have a guest path 2011-10-14 18:20:10 +02:00
Chris McClimans ec68c0a655 michellh/vagrant#524 2011-10-14 18:15:00 +02:00
Mitchell Hashimoto d4ff392be4 Fix wrong # of argument issue. [closes GH-518]
The second parameter actually is supposed to be options.
2011-10-14 17:19:16 +02:00
Cody Herriges f9c485bf05 Should honor max_tries.
Identified another place where ssh.max_tries was not being used where
  is likely should be.
2011-09-29 15:35:07 -07:00
Cody Herriges 48f3ce5880 Makes the execute method honor max_tries.
Vagrant::SSH.execute is hard coded for only 5 tries, this makes
  starting Debian machines very unreliable.  Debian will reset
  networking when you create a new hostonly NIC or change the hostname
  of the machine and occasionally the coming up part takes longer than
  what is provided by 5 tries.  Making this method honor the max_tries
  config option will make it possible to avoid this.
2011-09-21 13:27:23 -07:00
Mitchell Hashimoto 1bcbaa6df2 up version for development 2011-09-13 13:25:09 -07:00
Mitchell Hashimoto 5716b8dafb v0.8.7 2011-09-13 13:21:29 -07:00
Mitchell Hashimoto 7219f3d05b Show warning if forwarding port less than 1024 [closes GH-487] 2011-09-11 23:56:02 -07:00
Samer Abukhait 99646735d0 Don't do the port threshold check if running under root 2011-09-11 23:26:55 -07:00
Mitchell Hashimoto 1cfef2734a Fix crashing bug if .vagrant is invalid. [closes GH-496] 2011-09-11 23:23:17 -07:00
Mitchell Hashimoto b49553383c Revert "Don't expand VM folders for Chef"
This reverts commit 2665231363.

This actually reverted GH-431
2011-08-29 21:10:37 -07:00
Mitchell Hashimoto f6e6d7e834 Up version for development 2011-08-28 21:00:51 -07:00
Mitchell Hashimoto cf08262be4 v0.8.6 2011-08-28 20:59:17 -07:00
Mitchell Hashimoto b3dc6ba7d0 Check for VM accessibility in ssh_config 2011-08-28 20:41:51 -07:00
Mitchell Hashimoto c569c8b697 Accessibility checks on VM for `ssh` 2011-08-28 20:38:56 -07:00
Mitchell Hashimoto cdfbe4cc31 `vagrant up` on created machines check for inaccessible machines 2011-08-28 20:35:45 -07:00
Mitchell Hashimoto 82d6d5357b `vagrant provision` checks for inaccessible VMs 2011-08-28 20:34:59 -07:00
Mitchell Hashimoto 327a6f9d94 Add a check for VM accessibility before every action 2011-08-28 20:32:22 -07:00
Mitchell Hashimoto 2efe1f9135 Handle inaccessible VMs with "vagrant status" 2011-08-28 20:17:25 -07:00
Mitchell Hashimoto ed422e1151 Fixes to help with inaccessible VMs and forwarded ports 2011-08-28 20:02:15 -07:00
Mitchell Hashimoto e739e68e30 Look for "redhat-release" for Fedora 2011-08-28 14:13:54 -07:00
Mitchell Hashimoto 2665231363 Don't expand VM folders for Chef 2011-08-29 00:51:07 -07:00
Mitchell Hashimoto 14d1b987ae Add validation to args for shell provisioner 2011-08-28 00:02:42 -07:00
Mitchell Hashimoto bf32fb4de8 Args can now be specified to the shell provisioner [closes GH-475] 2011-08-28 00:01:23 -07:00
Mitchell Hashimoto 0f0cb27e50 Use proper nfsd binary on Fedora [closes GH-450] 2011-08-27 23:47:13 -07:00
Mitchell Hashimoto 1c2f80fab4 Distro dispatch for Host classes 2011-08-27 23:39:02 -07:00
Mitchell Hashimoto 5f62231bac Clear the line on box downloads [closes GH-476] 2011-08-27 20:35:52 -07:00
Mitchell Hashimoto d2498cfa99 Up version for development 2011-08-27 20:15:14 -07:00
Mitchell Hashimoto 722ea85a6a Remove "disk_image_format" config, since it isn't used. [closes GH-478] 2011-08-27 19:55:36 -07:00
Mitchell Hashimoto fe072662fd v0.8.5 - RubyGems bugs. Unbelievable. 2011-08-15 20:55:25 -07:00
Mitchell Hashimoto e7f192ccc8 v0.8.4
RubyGems issue
2011-08-15 20:24:12 -07:00
Mitchell Hashimoto 547a056f80 v0.8.3 2011-08-15 20:17:52 -07:00
Mitchell Hashimoto 3c1b16f286 vagrant ssh -c no longer emits prefix and newlines [closes GH-462] 2011-08-14 13:51:20 -07:00
Lewis Marshall 25dee4ac6d Default Vagrant::UI#clear_line to do nothing [closes GH-466]
This needs to be defined as it is used in Vagrant::Action::VM::Import#call
2011-08-13 18:55:38 -07:00
Mitchell Hashimoto cf115c10b1 Fix errno not defined [closes GH-465] 2011-08-13 18:54:32 -07:00
Mitchell Hashimoto 3f9a2814c7 Clean up some of the UI output 2011-08-10 22:17:37 -07:00
Dan Carley 1ec225e052 Add "short" hostname to "/etc/hosts" mimicking Debian behaviour. [closes GH-456] 2011-08-09 23:25:55 -07:00
Mitchell Hashimoto 7df5cf6c9d Fix some issues with the atomic counter and chef-solo 2011-08-03 21:28:29 -07:00
Mitchell Hashimoto 8ff269c341 Chef solo roles_path and data_bag_path should be a string 2011-08-02 23:30:57 -07:00
Greg Thornton 92bb5c423b Changed data_bags_path and roles_path in chef-solo provisioner to strings rather than arrays. [closes GH-446] 2011-08-02 23:30:49 -07:00
Mitchell Hashimoto 9d7433cbe7 Chef client allow empty run list 2011-08-02 23:17:46 -07:00
Thomas Pelletier 860a458a9c archlinux host only network support [closes GH-448] 2011-07-30 12:05:09 -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 f707431410 Fix remote URL chef solo runs. [closes GH-431] 2011-07-30 10:55:48 -07:00
Mitchell Hashimoto 0e7ccf86bc Ignore "OSE" suffix when checking guest additions versions [closes GH-438] 2011-07-30 10:25:58 -07:00
Mitchell Hashimoto 2ca46ced57 Fix message when provision is run on halted machine [closes GH-447] 2011-07-30 09:58:29 -07:00
Mitchell Hashimoto ed8bf34153 Chef client accepts nil run list to load run list from server [closes GH-429] 2011-07-25 21:33:36 -07:00
Mitchell Hashimoto 6217a91b5c ssh: get proper $PATH for exec! [closes GH-426] 2011-07-25 21:22:16 -07:00
Mitchell Hashimoto cd83a4a28f Up version for development 2011-07-22 23:59:02 -07:00
Mitchell Hashimoto 30642dbd62 v0.8.2 2011-07-22 23:57:12 -07:00
Mitchell Hashimoto 14ca7ecc24 Better validation for networking configuration 2011-07-22 23:53:19 -07:00
Paul Nguyen b92a814583 With puppet 2.7.x, the following warning [closes GH-421]
warning: Implicit invocation of 'puppet apply' by passing files (or flags) directly
to 'puppet' is deprecated, and will be removed in the 2.8 series.  Please
invoke 'puppet apply' directly in the future.

Since puppet 2.6, 'puppet apply manifestfile.pp' is the preferred way to apply a puppet manifest file, instead of 'puppet manifestfile.pp'.  The use of puppet without the apply option will be deprecated in 2.8.

Changed the 'commands' array to reflect the new syntax.
2011-07-22 23:30:48 -07:00
Mitchell Hashimoto 1cb613367d Name the shared-folders logical name using atomic counter to allow multiple chef solo provisioners. 2011-07-22 23:09:37 -07:00
Jeff Rafter 64ae5bcdf9 Rework indexes on chef solo provisioner to fix roles, data_bags [closes GH-425] 2011-07-22 23:02:16 -07:00
Mitchell Hashimoto 6300bebe72 Disable SSH caching for now 2011-07-21 14:55:03 -07:00
Mitchell Hashimoto fddc058e43 Reconnect SSH if the session closes 2011-07-21 10:53:58 -07:00
Mitchell Hashimoto 0b34364881 Up version for development 2011-07-20 18:41:59 -07:00
Mitchell Hashimoto ce553707d0 v0.8.1 - Fix Psych issue 2011-07-20 18:28:37 -07:00
Mitchell Hashimoto 8368d9c6d1 Up version for development 2011-07-20 17:53:20 -07:00
Mitchell Hashimoto 530c4f29e0 v0.8.0 2011-07-20 17:52:14 -07:00
Mitchell Hashimoto 667405c4d7 Require VirtualBox 4.1.x 2011-07-19 14:32:27 -07:00
Mitchell Hashimoto 92f4ab63da Network: Use new 4.1.x attribute host_only_interface 2011-07-19 14:24:26 -07:00
Mitchell Hashimoto b3f0242dc0 Nitpick loading of configuration 2011-07-15 18:46:04 -07:00
Mitchell Hashimoto 4c6673270a Ruby 1.8 compatibility 2011-07-11 20:13:19 -07:00
Mitchell Hashimoto 0dacd78b10 Add `forwarded_port_destination` to find SSH port by that instead of key. [closes GH-375] 2011-07-10 22:41:35 -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
Mitchell Hashimoto ad36340674 Specify program names for previous logging locations 2011-07-10 16:50:26 -07:00
Mitchell Hashimoto 907c3b318a Logging of `vagrant`, action running, and warden 2011-07-10 16:48:00 -07:00
Mitchell Hashimoto be3f7ffbfc Log all console output 2011-07-10 16:21:41 -07:00
Mitchell Hashimoto 8248679fab Fix bug with loading Vagrantfiles with new case changing 2011-07-10 16:08:39 -07:00
Mitchell Hashimoto 11dc005d75 Basic logging 2011-07-10 15:57:28 -07:00
Mitchell Hashimoto 0db2ec9d43 Remove ResourceLogger and PlainLogger 2011-07-10 15:35:45 -07:00
Mitchell Hashimoto 050677b359 ResourceLogger doesn't need to be thread-safe. Vagrant is not multi-threaded. 2011-07-10 14:52:22 -07:00
Mitchell Hashimoto aaa09749e4 Only get the home path on the root environment 2011-07-10 14:19:34 -07:00
Mitchell Hashimoto 442584fbac Change default home directory to ~/.vagrant.d [closes GH-333] 2011-07-09 18:55:33 -07:00
Mitchell Hashimoto 52c5c79edf Retry connection on Net::SSH::Disconnect [closes GH-313] 2011-07-09 17:02:41 -07:00
Mitchell Hashimoto 5143556065 Standardize on Util::Platform 2011-07-09 16:51:04 -07:00
Mitchell Hashimoto 1aed9f0f38 Remove leopard/tiger checking and just retry exec using safe_exec 2011-07-09 16:37:12 -07:00
Mitchell Hashimoto 874a9763f5 Only one copy of Vagrant can run at any given time. [closes GH-364]
This is to protect against issues with VirtualBox overwriting
each other.
2011-07-09 16:21:38 -07:00
Mitchell Hashimoto a8af0f47d3 Vagrantfile created should be capitalized still 2011-07-09 15:23:03 -07:00
Mitchell Hashimoto 24337b0ca4 vagrantfile now is lowercase. backwards compatible, though. [closes GH-399] 2011-07-09 15:18:52 -07:00
Mitchell Hashimoto 1cf379a1f0 Be smart about loading files in Vagrant::SSH 2011-07-09 11:21:37 -07:00
Mitchell Hashimoto 881045a85f Find a way to autoload 'vagrant/ssh' since that is a slow loader.
This involved realizing that requiring 'openssl' in the context
of an autoload causes some strange exceptions down the road. See this
gist for the error: https://gist.github.com/dd0b105bf9edcb7daa85
2011-07-09 11:12:15 -07:00
Mitchell Hashimoto 8b2d4bfe92 Update CHANGELOG, minor style changes 2011-07-08 18:19:36 -07:00
Michael Linderman 5bf4efe071 Don't delete package file if package output exists 2011-07-08 18:18:04 -07:00
Mitchell Hashimoto 0b02deb37a Share folders go into the modify pipeline 2011-07-08 12:07:27 -07:00
Mitchell Hashimoto d797e48389 Clear shared folders uses new modify pipeline 2011-07-08 12:05:18 -07:00
Mitchell Hashimoto 79c46b4ec1 Forward ports now uses modify pipeline 2011-07-08 12:04:01 -07:00
Mitchell Hashimoto 027b22eca0 Clear forwarded ports to the modify pipeline 2011-07-08 12:02:35 -07:00
Mitchell Hashimoto 6b2feae0e8 Create single interal modify block to sync VM modifications 2011-07-08 11:59:29 -07:00
Mitchell Hashimoto b876d9ed1d Move MAC address UI output into the customize block 2011-07-08 00:56:52 -07:00
Mitchell Hashimoto f3c44fba2f Clear shared folders now in the context of a single write lock 2011-07-08 00:26:28 -07:00
Mitchell Hashimoto 60708873e4 Clear forwarded ports is now done in context of customize block 2011-07-08 00:20:15 -07:00
Mitchell Hashimoto 268f7f7bc2 Improved lock-reducing of forwarded ports action 2011-07-08 00:03:33 -07:00
Mitchell Hashimoto 911a44523c Create shared folders in VM customize block to reduce VirtualBox lock time. 2011-07-07 23:49:29 -07:00
Mitchell Hashimoto 1ecd04e0ac Move port forwarding into customize block to run in a single VM lock. 2011-07-07 23:42:56 -07:00
Mitchell Hashimoto 17e86c40fc Reload VM after running customization blocks 2011-07-07 23:41:19 -07:00