Commit Graph

4080 Commits

Author SHA1 Message Date
Rick Harris 87a47abee8 Add resumable downloads
Since VM images can be fairly large and connections rather flaky, it would be
nice to support resumable downloads whereby, if a download is interrupted for
some reason, on the next attempt, it picks up where it left off.

To implement this, the following changes were made:

* The temporary download filename is now constructed from a SHA1 of the
  `box_url` instead of a timestamp. This allows separate invocations of
  Vagrant to 'share' the download-path if the URLs exactly match.

* Add `--continue-at -` option to `curl` which tells it to automatically resume
  downloading where it left off

* Modify the `recover` method in `box_add` to not remove the temporary
  download path if the download was interrupted

Known Issue:

* The progress on a resumed download will look a bit wonky in the sense that,
  it starts at 0% each time, instead of where it left off. Since Vagrant is
  pulling this directly from `curl`, this is more of an upstream issue.

Fixes #57
2013-11-20 15:15:38 -06:00
Mitchell Hashimoto b4aa8c0061 Merge pull request #2517 from phinze/2454-fix-dhcp-error-constant-typo
provider/virtualbox: fix bad constant reference in dhcp error
2013-11-20 09:21:13 -08:00
phinze 4225b0eb7b provider/virtualbox: fix bad constant reference in dhcp error
refs #2454
2013-11-20 11:15:25 -06:00
Mitchell Hashimoto 4883ece9a1 Merge pull request #2512 from phs/phs/doco-typo
website: typo
2013-11-18 19:08:55 -08:00
Phil Smith bd588a0ffe Typo! 2013-11-18 19:06:01 -08:00
Fabio Rehm a92e03cf4c Update CHANGELOG.md 2013-10-28 21:57:27 -02:00
Fabio Rehm d0ae6e960c Merge pull request #2434 from emyl/machine-id-string
Machine ID should always be a string
2013-10-28 16:55:34 -07:00
Emiliano Ticci 6bf842326a Machine ID should always be a string 2013-10-29 00:01:38 +01:00
Mitchell Hashimoto eb6256316c core: improved commenting in bin/vagrant 2013-10-23 23:20:27 -07:00
Mitchell Hashimoto 3002f8d522 Update CHANGELOG 2013-10-23 23:16:01 -07:00
Mitchell Hashimoto 2ca350c816 Merge pull request #2400 from hikch/master
guests/freebsd: fix nfs mount fail with FreeBSD9.1 (synced_folder).
2013-10-23 23:15:33 -07:00
Mitchell Hashimoto 17101d0c67 Update CHANGELOG 2013-10-23 23:13:36 -07:00
Mitchell Hashimoto af66984ca1 Merge pull request #2404 from canausa/patch-1
commands/provision: add --no-parallel
2013-10-23 23:13:04 -07:00
Mitchell Hashimoto 050ebc5357 website/docs: update to support 4.3.x 2013-10-23 23:10:11 -07:00
Mitchell Hashimoto 1b6643c974 website/docs: clearer 2013-10-23 23:09:39 -07:00
Mitchell Hashimoto e99fc28d8a Merge pull request #2412 from maxlinc/config_validation
website/docs: document '_detected_errors' pattern in plugin configuration guide.
2013-10-23 23:08:45 -07:00
Mitchell Hashimoto e24b7249ed Update CHANGELOG 2013-10-23 23:08:16 -07:00
Mitchell Hashimoto c5dbe416ed Merge pull request #2414 from Schpidi/symlinks_vb41
provider/virtualbox: automatically enable symlinks on vboxsf for VirtualBox 4.1
2013-10-23 23:07:25 -07:00
Stephan Meissl 889233ed94 Automatically enable symlinks on vboxsf for VirtualBox 4.1 (see #713 and 387692f9c8). 2013-10-23 23:00:07 +02:00
Max Lincoln 61d234e159 document common validation pattern 2013-10-23 10:46:17 -03:00
Mitchell Hashimoto 9094a6b2b1 Update cHANGELOG 2013-10-21 10:44:26 -07:00
Mitchell Hashimoto 5515063186 Merge pull request #2401 from txchen/master
core: sleep to avoid 100% CPU in waiting time of 'vagrant up'
2013-10-21 10:43:41 -07:00
canausa 10883b3be6 Add --no-parallel to provision 2013-10-21 10:19:42 -04:00
Tianxiang Chen e1abceee8c Sleep to avoid 100% CPU in waiting time of 'vagrant up' 2013-10-20 20:16:28 -07:00
Heikichi Umehara c0eb9bd35a fix nfs mount fail with freebsd. 2013-10-21 08:42:57 +09:00
Mitchell Hashimoto 673a06b54d hosts/gentoo: use subprocess machinery
/cc @timgus
2013-10-17 08:32:09 -10:00
Mitchell Hashimoto cae8cd4f9f Update CHANGELOG 2013-10-17 08:30:01 -10:00
Mitchell Hashimoto 7a99e7a62e Merge pull request #2382 from timgus/gentoo_systemd
hosts/gentoo: recognize systemd for nfsd startup and replace "service" command with /etc/init.d/nfs
2013-10-17 11:29:28 -07:00
Mitchell Hashimoto e2e114f0b0 Update CHANGELOG 2013-10-17 08:28:15 -10:00
Mitchell Hashimoto 079a6edade Merge pull request #2384 from nmische/ubuntu_hostname_fix
guests/ubuntu: Fixing so localhost hosts file entry is not lost when updating hostname....
2013-10-17 11:27:28 -07:00
Nathan Mische 0c238741d3 Fixing so localhost hosts file entry is not lost when updating hostname. Addresses Issue #2383. 2013-10-17 12:56:59 -04:00
Tim Gus 7bfc3ea16e hosts/gentoo: recognize systemd for nfsd startup and
replace "service" command with /etc/init.d/nfs
2013-10-17 11:11:59 -04:00
Mitchell Hashimoto 57e95323b6 up version for dev 2013-10-15 12:58:22 -10:00
Mitchell Hashimoto a40522f5fa v1.3.5 2013-10-15 11:55:44 -10:00
Mitchell Hashimoto fe31ac7556 Update CHANGELOG 2013-10-15 11:42:28 -10:00
Mitchell Hashimoto b2070eec53 providers/virtualbox: Support VirtualBox 4.3 [GH-2374] 2013-10-15 11:42:22 -10:00
Mitchell Hashimoto 0fc29eb34b Merge pull request #2376 from tmatilai/debianoid-hostname
guests/debian: Fix fqdn/hostname setting on Debian and other that "precise64" Ubuntus
2013-10-15 12:28:33 -07:00
Teemu Matilainen 330f72eae2 Fix hostname setting also in Debian
Same fix as #2334.
2013-10-15 15:57:40 -03:00
Teemu Matilainen 535eb35206 Use old name instead of hard coded 'precise64' 2013-10-15 15:57:15 -03:00
Mitchell Hashimoto dd7ee15d6f Update CHANGELOG 2013-10-14 17:22:15 -10:00
Mitchell Hashimoto f988db97bd Merge pull request #2334 from elliotsegler/issue_2333
guests/ubuntu: Hostname and FQDN should be done in one line
2013-10-14 20:21:53 -07:00
Mitchell Hashimoto 2be01284ea provisioners/chef: fix exception during node cleanup [GH-2345] 2013-10-14 17:12:49 -10:00
Mitchell Hashimoto 7f6cdfca77 Update CHANGELOG 2013-10-14 17:10:02 -10:00
Mitchell Hashimoto 2f5c9e97a7 Update CHANGELOG 2013-10-14 17:09:34 -10:00
Mitchell Hashimoto 4f8b751c4c Merge pull request #2347 from dougm/esxi-guest
guests/esxi: Add support for VMware ESXi guests
2013-10-14 20:09:25 -07:00
Mitchell Hashimoto cfd81da97e Merge pull request #2359 from viq/patch-1
provisioners/salt: fix seed_master key file name
2013-10-14 20:06:51 -07:00
Mitchell Hashimoto 569b223b83 Merge pull request #2353 from 3flex/set-charset
website/docs: set HTML charset to UTF-8
2013-10-14 20:03:17 -07:00
Mitchell Hashimoto 51714483c7 Merge pull request #2357 from 3flex/hiera-docs
website/docs: add Puppet Hiera docs [GH-2317]
2013-10-14 20:01:12 -07:00
Mitchell Hashimoto b56b065df0 Update CHANGELOG 2013-10-14 17:00:32 -10:00
Mitchell Hashimoto cb74d208ea Merge pull request #2358 from sgronblo/disallow_dots_and_hyphens_at_start_of_hostname
core: disallow dot and hyphen as first character of hostnames
2013-10-14 19:59:22 -07:00