Mitchell Hashimoto
0da5d7b650
communicators/ssh: clean error on max session [GH-4044]
2014-08-08 09:11:25 -07:00
Mitchell Hashimoto
b516881d47
provisioners/puppet: don't repeat output when prov fails [GH-4303]
2014-08-06 11:11:12 -07:00
Matthijs van der Vleuten
1091b4cb54
Don't output stdout and stderr twice when shell provisioner fails
...
[GH-4086]
2014-06-23 11:35:40 +02:00
Mitchell Hashimoto
d30efdcda9
Merge pull request #3926 from rockymadden/master
...
Fixed minor typo.
2014-05-29 07:43:15 -07:00
Rocky Madden
32029b91a0
Fixed minor typos.
2014-05-29 03:09:24 -06:00
Rocky Madden
3b4d575a02
Fixed minor typo.
2014-05-29 01:20:13 -06:00
cielavenir
bcb3ced952
favorite SSH client is not limited to PuTTY
2014-05-22 17:15:12 +09:00
Mitchell Hashimoto
07dbe40e98
Merge pull request #3848 from shtouff/feat-capath
...
added capath option to curl Downloader
2014-05-20 20:50:26 -07:00
Mitchell Hashimoto
f369c13e25
hosts/linux: niceer error if rdesktop not found
2014-05-20 19:58:12 -07:00
Rémi Paulmier
00a2670406
added capath option to curl Downloader
2014-05-19 18:08:23 +02:00
Felix Rabe
7ff3a4b428
Fix typo
2014-05-06 14:57:23 +02:00
Brian Pitts
9f62216f87
Remove check for nfs in config
2014-05-03 16:10:01 -05:00
Brian Pitts
4d90fdfec5
Check usability of nfs on host
2014-05-03 16:09:08 -05:00
Mitchell Hashimoto
604ae6caa3
communicators/ssh: detect if config.ssh.shell is non-functional [GH-3040]
2014-05-01 21:35:02 -07:00
Adam Spiers
b0cfed5ec6
fix "maintiner" typo
2014-05-02 01:42:14 +01:00
Mitchell Hashimoto
f2a2d93042
Revert "core: can't add boxes from network shares [GH-3279]"
...
This reverts commit 41636a8a9c
.
Conflicts:
CHANGELOG.md
2014-04-24 22:50:27 -07:00
Mitchell Hashimoto
63dffe3f92
commands/version: check latest version
2014-04-24 19:54:26 -07:00
Mitchell Hashimoto
85f4a4d5ee
commands/box/remove: if box is in use, warn user, ask for confirmation
2014-04-23 06:13:16 -07:00
Mitchell Hashimoto
4ced49bf0d
core: Batch action says immediately when error occurred
2014-04-21 13:56:35 -07:00
Emilien Kenler
b77bd3e6bb
Unit test + vault password file existence check
2014-04-21 13:56:16 -07:00
Mitchell Hashimoto
862414af12
core: lock around machine actions
2014-04-21 13:56:09 -07:00
Mitchell Hashimoto
53017bccc8
command/rsync-auto: work with provisioner synced folders
2014-04-21 13:55:57 -07:00
Mitchell Hashimoto
dc2f729fd3
core: Environment#lock is more useful now
2014-04-21 13:54:39 -07:00
Mitchell Hashimoto
0fa07637f9
commands/rdp: execute propre capabilities
2014-04-21 13:54:11 -07:00
Mitchell Hashimoto
72030d2180
Note provisioners that don't work on Windows guests
2014-04-21 13:54:02 -07:00
Mitchell Hashimoto
9dd9fff637
core: check if provider is usable when requesting a machine
2014-04-21 13:53:10 -07:00
Mitchell Hashimoto
aad8e7f80d
core: provision "once" or "always" [GH-2421]
2014-04-21 13:52:30 -07:00
Mitchell Hashimoto
f6fb9016a1
core: can specify a "post_up_message" [GH-1968]
2014-04-21 13:52:28 -07:00
Mitchell Hashimoto
a0e9f46251
core: commands can use the IDs from anywhere to control
2014-04-21 13:51:24 -07:00
Mitchell Hashimoto
e14216da4e
commands/global-status: initial go at it
2014-04-21 13:51:22 -07:00
Mitchell Hashimoto
ac032db6a6
core: MachineIndex has precision locking for entries
2014-04-21 13:51:14 -07:00
Mitchell Hashimoto
016afc7922
core: Basic MachineIndex class, starting point
2014-04-21 13:51:13 -07:00
Mitchell Hashimoto
f07ee5754a
core: Configurable communicator
2014-04-21 13:51:02 -07:00
Kenny Rasschaert
fc95e77237
provisioners/salt: error if minion_config missing
2014-04-19 23:24:30 +02:00
Christian Berendt
8f96205d95
added missing newline in `box remove version listing`
...
The output of Errors::BoxRemoveMultiVersion is now like
the output of Errors::BoxRemoveVersionNotFound. I think
that's expected.
example output without this patch:
```
$ vagrant box remove berendt/ubuntu-14.04-amd64
You requested to remove the box 'berendt/ubuntu-14.04-amd64' with provider
'virtualbox'. This box has multiple versions. You must
explicitly specify which version you want to remove with
the `--box-version` flag.
Versions: * 0.2.11
* 0.2.12
* 0.2.14
```
example output with this patch:
```
$ vagrant box remove berendt/ubuntu-14.04-amd64
You requested to remove the box 'berendt/ubuntu-14.04-amd64' with provider
'virtualbox'. This box has multiple versions. You must
explicitly specify which version you want to remove with
the `--box-version` flag. The available versions for this
box are:
* 0.2.11
* 0.2.12
* 0.2.14
```
2014-04-14 20:49:17 +02:00
Mitchell Hashimoto
00962c7c2a
commands/box/repackage: better error if box not found
2014-04-12 18:00:33 -07:00
Mitchell Hashimoto
e972bbf32a
synced_folders/rsync: change wording on no paths watching
2014-04-11 14:56:35 -07:00
Mitchell Hashimoto
75bc1c74b6
Merge pull request #3446 from brenttheisen/rsync_auto_nothing_to_watch_pr
...
command/rsync-auto: message and exit rsync-auto immediately if there is nothing to watch.
2014-04-11 14:53:42 -07:00
Brent Theisen
7b27fa31ce
Print message and exit rsync-auto immediately if there is nothing to watch.
2014-04-11 16:49:58 -05:00
Abed Halawi
9ec7988f0d
add translation message for docker building images
2014-04-11 19:43:51 +03:00
Mitchell Hashimoto
dbbde8d63d
Nitpick on messaging
2014-04-11 09:31:18 -07:00
Mitchell Hashimoto
f8f38460c6
Merge pull request #3438 from berendt/show_version_when_removing_a_specific_box
...
print version when removing a specific box
2014-04-11 09:30:38 -07:00
Christian Berendt
6406b1e0c8
fixed spelling
2014-04-11 11:14:12 +02:00
Christian Berendt
c43bd27ffe
print version when removing a specific box
...
Example:
$ vagrant box remove --box-version 0.2.9 berendt/ubuntu-14.04-amd64
Removing box 'berendt/ubuntu-14.04-amd64' with provider 'virtualbox' in version '0.2.9'...
2014-04-11 10:05:03 +02:00
Mitchell Hashimoto
41636a8a9c
core: can't add boxes from network shares [GH-3279]
2014-04-09 14:15:26 -07:00
Mitchell Hashimoto
d8ec7b02c4
commands/package: Nicer error if includes has symlinks [GH-3200]
2014-04-09 10:52:33 -07:00
Mitchell Hashimoto
e748aadf4f
core: give users chance to quit for upgrade [GH-3212]
2014-04-09 09:58:30 -07:00
Mitchell Hashimoto
09a3409746
commands/rsync-auto: do an initial sync [GH-3327]
2014-04-09 09:09:42 -07:00
Mitchell Hashimoto
800cf7539b
synced_folders/rsync: don't crash if comm error during rsync-auto [GH-3419]
2014-04-09 08:58:56 -07:00
Mitchell Hashimoto
5f12126d32
core: network issues don't halt Vagrant during box update check [GH-3391]
2014-04-05 09:25:03 -07:00
Mitchell Hashimoto
0e46c5d9de
core: Raise predictable error if box metadata downlaod fails
2014-04-05 09:20:03 -07:00
Mitchell Hashimoto
32d86ca42b
core: don't allow version for old-style box [GH-3260]
2014-04-02 09:32:34 -07:00
Mitchell Hashimoto
36ad327ec1
core: ignore if box doesn't exist on update check [GH-3326]
2014-04-02 08:24:38 -07:00
Mitchell Hashimoto
097dd2917c
core: better error when adding box with malformed version [GH-3332]
2014-04-01 22:48:52 -07:00
Mitchell Hashimoto
8195f7faab
core: add test for removing box version [GH-3364]
...
/cc @berendt - Added a test
2014-04-01 21:47:51 -07:00
Mitchell Hashimoto
4c90a5d002
Merge pull request #3364 from berendt/fix_issue_3344
...
core: handle exception when removing a non existing box version
2014-04-01 21:42:43 -07:00
David Kuridža
15e3b7f068
add missing translation en.vagrant.commands.status.stopping
2014-04-01 14:44:38 +02:00
Christian Berendt
7d38d78fee
handle exception when removing a non existinga box version
...
When trying to remove a not existing version of an existing box an
exception is thrown. The exception should be handled and some message
(box version 0.1.2 not available) should be printed.
With this patch the exception is handled correctly by using a newly
introduced exception BoxRemoveVersionNotFound.
Example output:
You requested to remove the box 'berendt/alpine-2.7.5-amd64' with provider
'virtualbox' in version '0.0.2'. The box 'berendt/alpine-2.7.5-amd64'
exists but not in the specified version '0.0.2'.
Please double-check and try again.
The available versions for this box are: 0.1.0
Fixes issue #3344
2014-03-31 20:32:34 +02:00
Mitchell Hashimoto
012c28606f
kernel/v2: validate forwarded ports [GH-3187]
2014-03-13 08:32:05 -07:00
Mitchell Hashimoto
7d32aed01f
Clarify error message on missing b ox
2014-03-12 09:38:52 -07:00
Mitchell Hashimoto
49471ffbf6
core: output when upgrading home path
2014-03-11 11:06:38 -07:00
Mitchell Hashimoto
dabbb837fb
Missing translation [GH-3130]
2014-03-11 11:01:07 -07:00
Mitchell Hashimoto
eb9b85c388
core: UI#ask with no echo works even if noecho not supported [GH-3119]
2014-03-11 09:58:49 -07:00
Mitchell Hashimoto
4437bcd77f
core: better error if attempting to uninstall system plugin
2014-03-03 15:05:32 -08:00
Mitchell Hashimoto
a1609de7c0
Fix english typo
2014-02-26 08:09:27 -08:00
Mitchell Hashimoto
6c5179602c
provisioners/salt: error if minion_config missing [GH-2893]
2014-02-24 07:58:12 -08:00
Mitchell Hashimoto
4c070a04d2
core: if can't communicate, force halt right away
2014-02-23 22:25:59 -08:00
Mitchell Hashimoto
a667893cbf
provisioners/shell: error if invalid encoding [GH-3000]
2014-02-23 21:50:53 -08:00
Mitchell Hashimoto
ed5e544e63
communicators/ssh: more verbose output about waiting for SSH
2014-02-13 20:59:26 -08:00
Mitchell Hashimoto
647563edaf
core: shorthand boxes must be foo/bar formatted, better errors
2014-02-05 21:20:31 -08:00
Mitchell Hashimoto
7a6d1a3ff1
commands/box: update command can update a specific box now
2014-02-05 21:20:23 -08:00
Mitchell Hashimoto
386938f0b1
commands/box: update looks prettier on output
2014-02-05 21:20:22 -08:00
Mitchell Hashimoto
cf9004241e
core: output what we're updating and what we're not
2014-02-05 21:20:21 -08:00
Mitchell Hashimoto
43157fba18
core: output the version that is added with BoxAdd
2014-02-05 21:20:20 -08:00
Mitchell Hashimoto
88b64f93a4
commands/box: "update" command
2014-02-05 21:20:19 -08:00
Mitchell Hashimoto
61a1082d65
core: BoxCheckOutdated is *much* simpler, unified logic, tests
2014-02-05 21:20:18 -08:00
Mitchell Hashimoto
bfca65b098
core: better output for BoxCheckOutdated
2014-02-05 21:20:16 -08:00
Mitchell Hashimoto
8cc16d14fa
core: BoxCheckOutdated checks locally
2014-02-05 21:20:13 -08:00
Mitchell Hashimoto
e537e02d9d
core: BoxCheckOutdated can check if a box is outdated
2014-02-05 21:20:11 -08:00
Mitchell Hashimoto
f2509f5c65
commands/box: outdated command to find outdated boxes
2014-02-05 21:20:10 -08:00
Mitchell Hashimoto
e9afe386c1
core: remove BoxUpgradeRequired exception
2014-02-05 21:20:06 -08:00
Mitchell Hashimoto
2ea6f92a6c
core: Cleaner output for BoxAdd
2014-02-05 21:20:03 -08:00
Mitchell Hashimoto
d40ff9c390
kernel_v2: test for box_url
2014-02-05 21:20:01 -08:00
Mitchell Hashimoto
f0607c6df0
core: BoxAdd supports multiple URLs properly
2014-02-05 21:19:59 -08:00
Mitchell Hashimoto
38248c240c
core: BoxAdd errors if name doesn't match metadata
2014-02-05 21:19:58 -08:00
Mitchell Hashimoto
a115750401
core: HandleBox works with metadata boxes
2014-02-05 21:19:52 -08:00
Mitchell Hashimoto
b2fa785d07
core: Environment loads proper version of box
2014-02-05 21:19:51 -08:00
Mitchell Hashimoto
7e847a36b6
core: update error message for shorthand is bad
2014-02-05 21:19:50 -08:00
Mitchell Hashimoto
d08866e9f3
core: nicer error if shorthand can't be found
2014-02-05 21:19:49 -08:00
Mitchell Hashimoto
1bd3275b3b
core: output the expanded URL
2014-02-05 21:19:48 -08:00
Mitchell Hashimoto
b71cde6b99
core: make box add UI much icer
2014-02-05 21:19:44 -08:00
Mitchell Hashimoto
c7fc9d1d46
core: BoxRemove works, tests
2014-02-05 21:19:42 -08:00
Mitchell Hashimoto
29da748702
commands/box/remove: update for new syntax
2014-02-05 21:19:41 -08:00
Mitchell Hashimoto
f9c9559320
core: ask what provider to use if multiple providers
2014-02-05 21:19:38 -08:00
Mitchell Hashimoto
acc57a3c18
core: clarify output for boxadd error message
2014-02-05 21:19:36 -08:00
Mitchell Hashimoto
8f0f0506d6
core: BoxAdd requires name if old-style box
2014-02-05 21:19:32 -08:00
Mitchell Hashimoto
75cffe53d1
core: BoxAdd checks if box already exists for metadata
...
unless force
2014-02-05 21:19:28 -08:00
Mitchell Hashimoto
ee139eb79d
core: more output for box adding
2014-02-05 21:19:22 -08:00
Mitchell Hashimoto
5b075fa34e
core: BoxAdd adds matching provider even if lower version
2014-02-05 21:19:20 -08:00
Mitchell Hashimoto
7d44cd61c9
core: BoxAdd can add from metadata, version constraints, more
2014-02-05 21:19:18 -08:00
Mitchell Hashimoto
8abcc6e5f2
core: BoxMetadata can read the JSON description
2014-02-05 21:19:15 -08:00
Mitchell Hashimoto
87a85488d1
core: all box collection tests pass
2014-02-05 21:19:09 -08:00
Mitchell Hashimoto
6cddb92407
core: error if newer home dir version is detected
2014-02-05 21:19:05 -08:00
Mitchell Hashimoto
a03bc763f9
core: tests around the environment setup_version
2014-02-05 21:19:01 -08:00
Daniel Bachhuber
8def6bf07f
Fix typo in sentence
2014-02-03 13:10:28 -08:00
Mitchell Hashimoto
f63ef395f1
Merge branch 'rsync_install' of https://github.com/tmatilai/vagrant into tmatilai-rsync_install
...
Conflicts:
plugins/guests/freebsd/plugin.rb
plugins/guests/netbsd/plugin.rb
plugins/guests/openbsd/plugin.rb
2014-02-03 12:12:49 +01:00
Mitchell Hashimoto
3c10bf7721
communicators/ssh: better error message
2014-02-03 12:09:13 +01:00
Mitchell Hashimoto
ac439852ff
kernel/v2: allow IPs to end in ".1" [GH-2914]
2014-02-03 12:02:14 +01:00
Teemu Matilainen
e634cdc824
guests: rename LinuxShellExpandFailed error to ShellExpandFailed
...
Make the error generic for all guests (`DarwinShellExpandFailed` didn't
even exist) and not tied to synced folder.
2014-02-02 17:26:54 -03:00
Teemu Matilainen
ee2ae94c25
synced_folders/rsync: Install `rsync` on guest if needed
...
Add new `rsync_installed` and `rsync_install` guest capabilities
to detect and install `rsync`.
Also copy `rsync_pre` capability to all Unix guests.
2014-01-31 02:12:57 -03:00
Mitchell Hashimoto
09955be2cd
provisioners/docker: configure auto start properly for new Docker
...
[GH-2874]
2014-01-21 20:52:27 -08:00
Mitchell Hashimoto
ea77194384
providers/virtualbox: more detailed output
2014-01-17 21:03:01 -08:00
Mitchell Hashimoto
5b449c8000
providers/virtualbox: many `detail` level output
2014-01-17 21:03:00 -08:00
Mitchell Hashimoto
83245e6b2a
core: Within a Bundler env, don't manage Bundler
2014-01-17 09:39:20 -08:00
Mitchell Hashimoto
c3d0903f85
synced_folders/rsync: output directory under watch for rsync-auto
2014-01-16 09:11:41 -08:00
Mitchell Hashimoto
f4f97740fb
core: update translation to help Windows more
2014-01-15 20:24:39 -08:00
Mitchell Hashimoto
b3de12702a
Merge branch 'add_building_local_dockerfiles' of https://github.com/jpfuentes2/vagrant into jpfuentes2-add_building_local_dockerfiles
2014-01-14 08:17:44 -08:00
Mitchell Hashimoto
9cf0387e00
core: interrupt in Cli exits with 1
2014-01-13 21:42:40 -08:00
Mitchell Hashimoto
59218ded68
synced_folders/rsync: move rsync logic out to helper
2014-01-13 11:01:50 -08:00
Mitchell Hashimoto
8bc36824bf
commands/list-commands: lists all commands primary and non-primary
2014-01-11 09:32:13 -08:00
Mitchell Hashimoto
7b2a0716f1
synced_folders/rsync: warn if password auth
2014-01-10 20:37:11 -08:00
Mitchell Hashimoto
55b0dffd36
synced_folders/rsync: output what is being excluded
2014-01-10 18:06:16 -08:00
Mitchell Hashimoto
38fbbb6c56
synced_folders/rsync: Initial commit working
2014-01-10 17:40:29 -08:00
Mitchell Hashimoto
91380c0650
synced_folders/nfs: automatically install NFS client if possible
...
If guests have the following capabilities, automatic NFS client
installation will be done:
* nfs_client_installed - Checks if the NFS client is installed
* nfs_client_install - Install the NFS client
Support is already in for Debian, Ubuntu, RedHat, CentOS, and Fedora
2014-01-09 16:58:20 -08:00
Mitchell Hashimoto
23c08eae9c
Fix up translations
2014-01-09 10:04:31 -08:00
Mitchell Hashimoto
396511b389
core: Remove unused error classes
2014-01-09 10:03:28 -08:00
Mitchell Hashimoto
b087352a14
Remove unused translations and errors thanks to @glebm
2014-01-09 09:38:59 -08:00
Mitchell Hashimoto
7631a38601
core: refactor error initialization logic
...
/cc @tmatilai - This includes a test case for the symbol stuff, should
be okay now.
2014-01-08 19:53:43 -08:00
Teemu Matilainen
481924c46d
provisioners/docker: Add missing I18n key [GH-2774]
...
Also sort the docker keys alphabetically.
2014-01-08 22:01:22 -03:00
Mitchell Hashimoto
7c995caae5
core: Catch plugin load errors and show them to the user ina friendly way
2014-01-08 14:45:43 -08:00
Mitchell Hashimoto
e2af545182
kernel/v2: a host always exists, remove dumb check
2014-01-07 21:20:28 -08:00
Mitchell Hashimoto
4cec8b48d9
hosts/freebsd: convert
2014-01-07 21:01:03 -08:00
Mitchell Hashimoto
93e365bb33
core: Vagrant::Environment uses new host settings
2014-01-07 19:11:08 -08:00
Mitchell Hashimoto
1f6095f912
core: Vagrant::CapabilityHost is a module for adding capabilities to
...
things
2014-01-07 16:12:12 -08:00
Mitchell Hashimoto
f612ec7549
core: support plugin sources, and mask Bundler errors
2014-01-05 23:13:49 -08:00
Mitchell Hashimoto
0117521744
commands/plugin: vagrant update is fancier now (see website docs)
2014-01-05 22:33:05 -08:00
Mitchell Hashimoto
561e65ec72
commands/plugin: list shows version constraints and entrypoints
2014-01-05 21:16:41 -08:00
Mitchell Hashimoto
eabc0f04fa
friendly errors if a non-existent gem install is tried
2014-01-05 16:57:51 -08:00
Mitchell Hashimoto
f8b49afe8a
Nice error message on plugin install conflict
2014-01-05 16:28:05 -08:00
Mitchell Hashimoto
8adef9c15f
warn if running in a bundler env, don't load plugins
2014-01-04 16:29:22 -08:00
Mitchell Hashimoto
92413d0393
core: error if vagrant ssh -c with password
2014-01-03 11:26:41 -08:00
Mitchell Hashimoto
54e640b0c9
communicators/ssh: output UI when inserting key
2014-01-03 11:22:05 -08:00
Mitchell Hashimoto
d1fdee7ae3
core: warn if password only on `vagrant ssh`
2014-01-03 10:45:42 -08:00
Jamey J. DeOrio
6e5a0690e3
Fix spelling of 'because'
2014-01-02 16:54:42 -08:00
Mitchell Hashimoto
619fe9a056
core: warn if no provider is specified that we can't check for it
2013-12-31 08:38:58 -08:00
Mitchell Hashimoto
5d39cc381f
Merge pull request #2694 from tmatilai/plugin-json-errors
...
core: show more informative error if plugin.json parsing fails
2013-12-28 13:12:59 -08:00
Mitchell Hashimoto
2145ffd8b9
Merge pull request #2693 from oalders/master
...
core: reduces use of split infinitives.
2013-12-28 12:59:21 -08:00
Marc Meszaros
194d7d11cd
Add error messages to localization file for salt provisioner
2013-12-27 22:37:54 -05:00
Teemu Matilainen
a5b84f413e
core: More informative error if plugin.json parsing fails
2013-12-20 07:10:10 -03:00
Olaf Alders
19c2a9af4a
Reduces use of split infinitives.
...
Some would argue that split infinitives can be considered to be correct,
but the issue in these cases is that the phrasing is a bit smoother
without them.
2013-12-20 00:51:57 -05:00
Mitchell Hashimoto
da91572ce7
commands/init: error if can't write Vagrantfile [GH-2660]
2013-12-15 11:28:51 -08:00
Taylor Price
68408526c2
Changed wording to reflect Issue #2632
2013-12-13 23:40:40 -08:00
Mitchell Hashimoto
2bebf188d6
hosts/bsd: check for exports file issues prior to exporting NFS
2013-12-13 22:14:13 -08:00
Mitchell Hashimoto
c1141dded3
providers/virtualbox: don't clear /etc/exports on BSDs for NFS [GH-2645]
2013-12-13 22:03:14 -08:00
Fabio Rehm
46ba43e6ac
provisioners/docker: Display warning in case a version get specified on the Vagrantfile and the guest is a RedHat-ian guest [GH-2649]
2013-12-13 23:06:20 -02:00
Jacques Fuentes
1738f9dccf
Add option to Docker provisioner to build local images
2013-12-09 17:54:32 -05:00
Mitchell Hashimoto
ba18d98d45
core: improve guest type detection
...
/cc @fgrehm - I figured you might be interested in this. :)
2013-12-08 11:14:18 -08:00
Mitchell Hashimoto
581841a195
core: style nitpicks
2013-12-07 20:59:54 -08:00
Teemu Matilainen
cf1d94b22b
core: Print info message if provisioning is skipped by the sentinel file
...
Tell the user if the VM has already been provisioned and no
`--[no-]provision` option has been specified. This should reduce the
confusion of the 1.3+ functionality.
2013-12-07 17:09:04 -03:00
Mitchell Hashimoto
d354cdda4a
core: request users upgrade plugins if they're old
2013-12-04 11:43:39 -08:00
Mitchell Hashimoto
146bc34019
Merge pull request #2549 from mitchellh/f-docker-provisioner
...
docker provisioner
2013-12-03 17:47:42 -08:00
Mitchell Hashimoto
999ce22354
provisioners/docker: output version when installing
2013-12-03 14:39:32 -08:00
Mitchell Hashimoto
f7916c0cff
provisioners/docker: output for each image pulling
2013-12-03 14:38:38 -08:00
Mitchell Hashimoto
33d3c28086
provisioners/docker: simplify run, output which are running
2013-12-03 14:33:13 -08:00
Mitchell Hashimoto
d2bc1dbc3b
Merge pull request #2560 from phinze/vbox-nfs-dhcp-support
...
providers/virtualbox: support DHCP interfaces for NFS
2013-12-03 11:49:54 -08:00
Paul Hinze
c25172d0f7
providers/virtualbox: support DHCP interfaces for NFS
...
Previously, we required a host-only interface with a static IP for NFS
to work in VirtualBox, because we needed access to the guest's IP in
order to properly configure mount commands.
After boot, VirtualBox exposes the IP addresses of a guest's network
adapters via the "guestproperty" interface.
This adds support for reading VirtualBox guest properties to the
VirtualBox driver and utilizes that support to prepare NFS settings,
which removes the necessity for a static IP for NFS to work.
In this commit we also start building out scaffolding for unit testing
vbox actions and drivers.
Test plan:
- Prepare a Vagrantfile with the following:
* private network with type: :dhcp
* synced folder with nfs: true
- Boot a VM from this Vagrantfile using the virtualbox provider
- Machine should boot successfully with working synced folder
2013-12-03 10:21:28 -05:00
Mitchell Hashimoto
555f4c7dcf
kernel/v2: support checksum on box config
2013-12-01 23:03:21 -08:00
Mitchell Hashimoto
84ea952df3
core: output UI when checksumming
2013-12-01 23:03:21 -08:00
Mitchell Hashimoto
1094ac976e
core: support checksum on box add
2013-12-01 23:03:20 -08:00
Fabio Rehm
2d50b2f085
provisioner/docker: Add missing I18n
2013-11-29 10:22:06 -02:00
Fabio Rehm
82fc9330af
provisioners/docker: Simplify raising of Docker related errors
2013-11-29 10:22:06 -02:00
Mitchell Hashimoto
db9c8dd6b3
core: validate box_download_ca_cert_file, expand
2013-11-26 21:10:33 -08:00
Mitchell Hashimoto
798432febe
provisioners/chef: validate environments path [GH-2381]
2013-11-26 18:57:27 -08:00
Mitchell Hashimoto
d7b74ca8b9
core: config.vm.box_url can be array of urls [GH-1958]
2013-11-25 21:57:20 -08:00
Mitchell Hashimoto
e72cd9c98e
provisioners/puppet: can specify a client key/cert
2013-11-25 15:17:05 -08:00
Mitchell Hashimoto
57d4775140
provisioners/shell: allow array args [GH-1949]
2013-11-25 13:36:51 -08:00
Mitchell Hashimoto
602505a136
providers/virtualbox: some validation around internal networks
2013-11-25 11:25:10 -08:00
Mitchell Hashimoto
10daa6fddf
Merge pull request #2366 from gildegoma/ansible-extra-vars
...
provisioners/ansible: Improvements for 'extra_vars' argument
2013-11-24 21:21:44 -08:00
Mitchell Hashimoto
a290480ec9
core: output when resuming box download
2013-11-23 15:51:10 -08:00
Mitchell Hashimoto
e9fd622406
core: vagrant version requirements in vagrantfile [GH-2322]
2013-11-23 12:23:34 -08:00
Mitchell Hashimoto
bf72c7cb5d
core: human friendly error for corrupt box metadata
2013-11-23 11:54:42 -08:00
Mitchell Hashimoto
39715eb2ff
core: fix templates syntax error
2013-11-23 10:50:54 -08:00
Mitchell Hashimoto
ab70dc271b
core: verify explicit sf types are usable
2013-11-23 10:47:06 -08:00
Mitchell Hashimoto
93a4066339
core: SyncedFolders built-in middleware
2013-11-22 16:12:51 -08:00
Gilles Cornu
5aff4a1f20
Ansible: Improvements for 'extra_vars' argument
...
`extra_vars` argument can now:
- contains a hierarchical set of parameters (instead of flat Key-Value Pairs)
- alternatively refers to a configuration file (instead of embedded Hash)
See Ansible Documentation for version requirement details:
http://www.ansibleworks.com/docs/playbooks_variables.html#passing-variables-on-the-command-line
2013-10-12 00:29:39 +02:00
Sam Gronblom
9a7ca06cfa
Disallow dot and hyphen as first character of hostnames
...
- Causes hostname to be set to an invalid value on some systems which
also causes malfunction of hostname -f so it cannot be changed
2013-10-10 14:42:48 +09:00
Mitchell Hashimoto
00f61e67e1
core: errors can use error_message to specify string error message
2013-10-01 21:45:05 -07:00
Mitchell Hashimoto
787788c328
core: Translation to remove 'solo' from shared chef error [GH-2276]
2013-10-01 11:32:50 -07:00
Mitchell Hashimoto
ea2c87e4f4
core: Fix bad translation [GH-2225]
2013-09-18 09:05:51 -07:00
Mitchell Hashimoto
196d3bbcab
core: improve bad boot state error [GH-2187]
2013-09-15 16:51:59 -07:00
tpltnt
6360a8d96d
clarification: don't -> shouldn't
2013-09-12 15:37:14 +02:00
Mark Peek
c158b4aff4
Add a file provisioner
...
Add a provisioner which will upload host files and directories to the
guest via the scp channel. This is useful for populating user specific
files into the guest. This is a rename from scpupload to file and updated
against master. [GH-1357]
2013-09-03 11:03:46 -07:00
Mitchell Hashimoto
be25238381
core: Show what machine error messages are for [GH-1668]
2013-09-02 15:53:59 -07:00
Mitchell Hashimoto
b8dc881792
commands/up: validate provision-with args [GH-1957]
2013-09-02 15:06:03 -07:00
Mitchell Hashimoto
ac1404b9ac
commands/plugin: Add "update" subcommand
2013-09-02 09:31:26 -07:00
Mitchell Hashimoto
e5b35d1c83
core: support "mount_options" for arbitrary mount options [GH-1029]
2013-09-01 12:25:21 -07:00
Mitchell Hashimoto
c63d4fd6b8
hosts/bsd: nice error if can't read exports file [GH-2038]
2013-09-01 10:25:00 -07:00
Mitchell Hashimoto
261d0ef6cd
core: WaitForCommunicator - more robust wait for boot
...
This is a new built-in middleware that is more robust for
waiting for boots. The "max_tries" configuration is now gone, it is
timeout based. Future commits will make this even better as the
SSH communicator will implement the new "wait_for_ready" in a better
way.
2013-08-29 16:27:00 -07:00
Mitchell Hashimoto
1ac3fb39fc
provisioners/chef: error if knife not found and auto-deleting
2013-08-29 11:36:37 -07:00
Mitchell Hashimoto
a8ebd30cb9
provisioners/chef: use Subprocess to execute knife
2013-08-29 11:26:21 -07:00