Commit Graph

9908 Commits

Author SHA1 Message Date
Harry Weppner 250e74cb79 fix check for `docker-compose` 2017-06-08 11:09:41 -07:00
Brian Cain 378aae8782 Merge pull request #8653 from briancain/7188/master/unify-snapshot-restore-failures
Clean up vagrant snapshot restore/delete error messages
2017-06-07 11:47:38 -07:00
Brian Cain 43ae30cf9b Merge pull request #8651 from briancain/WARN-CWD-CHANGES
Warn about changes to cwd for every machine action
2017-06-07 11:46:57 -07:00
Brian Cain 87b7514603 (#7188) Clean up vagrant snapshot restore/delete error messages
This commit adds some better handling around the snapshot restore and
delete commands for the virtualbox provider. If a user attempts to restore from
a vm that does not exist, instead of exiting 0 it will raise an
exception saying the virtual machine has not been created yet.
Addtionally, if a user attempts to restore from a snapshot id that does
not exist, instead of printing a complicated exception from the
virtualbox cli tool, it prints a more useful error message telling the
user that the snapshot does not exist.
2017-06-07 09:12:20 -07:00
Brian Cain 79c7799fd9 Add basic unit test for CWD change warning 2017-06-06 08:38:03 -07:00
Brian Cain d02189530d Merge pull request #8643 from briancain/6827/master/introduce-tty-flag-for-ssh-command
Introduce tty flag for ssh command execution
2017-06-06 08:35:07 -07:00
Fernando Seror 48b0e00368 Tests regarding warning whenever CWD changes 2017-06-05 13:25:30 -07:00
Fernando Seror 15871a481b Warn about changes to CWD on every machine action
Whenever the path where the machine was first created changes, Vagrant
will now show just one warning when an action is run on the machine.

The idea is that if a user copies the machine over to a different
directory with the idea of running two different machines, this warning
will now help the user determine how to make that work.
2017-06-05 13:25:30 -07:00
Brian Cain 1ade699936 (#6827) Introduce tty flag for ssh command execution
Prior to this commit, if a user ran the `vagrant ssh -c CMD` command, it
would not allow the user to configure pseudo-terminal allocation. This
commit introduces a -t flag for the `vagrant ssh` command which defaults
to true if not specified.
2017-06-02 17:32:02 -07:00
Brian Cain 875aee3636 Merge pull request #8632 from gtbono/fix_typo_link
Fixes typo in broken link to documentation
2017-06-01 09:08:11 -07:00
Brian Cain d0f1f39fa6 Merge pull request #8636 from briancain/7118/master/handle-invalid-box-names
Handle box names that are URLs
2017-05-31 16:16:38 -07:00
Brian Cain 5c7ee0bc2a Merge pull request #8627 from briancain/maint/master/raise-exception-snapshot-unsupported
Raise exception for unsupported snapshot providers and improve snapshot plugin testing
2017-05-31 16:16:23 -07:00
Brian Cain f1d08aa629 (#7118) Handle box names that are URLs
Prior to this commit, if a user set a URL for the name of a box, vagrant
would not warn the user about using box_url instead. This would lead to
some difficult user experiences around the various box commands due to
the box name being a full URL. This commit introduces a warning to the
user and lets them know to instead use box_url.
2017-05-31 15:25:05 -07:00
Brian Cain 65eb6d8c82 Merge pull request #8633 from mwhooker/patch-1
docs: add closing `
2017-05-31 14:58:47 -07:00
Matthew Hooker c8a45d9d17 add closing ` 2017-05-31 12:27:05 -07:00
Giovanni Tempobono 68b01d4288 Fixes typo in broken link to documentation 2017-05-31 14:40:06 +00:00
Brian Cain b349d664e4 Include snapshot list unit test
This commit introduces a new set of unit tests for the snapshot list
command.
2017-05-30 15:19:58 -07:00
Justin Campbell b7781d6497 Merge pull request #8622 from mitchellh/vagrant-cloud-migration-docs
website: Update Vagrant Cloud migration docs
2017-05-30 12:45:27 -04:00
Justin Campbell 6cd257a4b4 website: Update Vagrant Cloud migration docs 2017-05-30 11:05:19 -04:00
Brian Cain eadb0ac831 Raise exception if provider doesn't have snapshot capability
Prior to this commit, if a user attempted to use the `vagrant snapshot
save` or `vagrant snapshot list` commands on a vm whose provider did not
support snapshots, it would simply print a warning. This commit changes
that behavior by instead raising an error.
2017-05-26 15:22:25 -07:00
Brian Cain 2995b60925 Update CHANGELOG 2017-05-25 16:43:03 -07:00
Brian Cain 47f001dcdb Merge pull request #8619 from briancain/7810/master/snapshot-names
Enforce unique snapshot names
2017-05-25 16:41:33 -07:00
Brian Cain 6ddba4f7b3 (#7810) Enforce unique snapshot names
Prior to this commit, the vagrant snapshot plugin would save snapshots
with existing names which lead to duplicate snapshot names being saved.
This commit fixes that by checking to see if the given snapshot name
already exists and if so, fails telling the user the given snapshot name
already exists. If a user passes a --force flag, vagrant will first
delete the existing snapshot, and take a new one with the given name.
2017-05-25 16:28:17 -07:00
Chris Roberts def29981bd Merge pull request #8602 from justincampbell/vagrant-enterprise-docs
Vagrant Enterprise docs
2017-05-19 14:50:04 -07:00
Justin Campbell 3a14e7c8ef website: Fix Vagrant Enterprise docs links 2017-05-19 12:35:14 -04:00
Justin Campbell 37c12eed01 website: Vagrant Cloud Migration docs 2017-05-19 12:09:37 -04:00
Justin Campbell b862724ce1 website: Vagrant Enterprise user docs 2017-05-19 12:05:34 -04:00
Justin Campbell 821ae518f7 website: Vagrant Enterprise Support docs 2017-05-19 11:59:33 -04:00
Justin Campbell fc286c3c32 website: Vagrant Enterprise organization docs 2017-05-19 11:43:59 -04:00
Justin Campbell d2ac4c983a website: Replace Atlas with Vagrant Enterprise 2017-05-19 11:24:04 -04:00
Justin Campbell 734479a494 website: Add Vagrant Ent request limit docs 2017-05-19 11:19:03 -04:00
Justin Campbell 4eacb3d492 website: Import Vagrant Enterprise docs 2017-05-19 11:01:01 -04:00
Chris Roberts 20b4766dd7 Add CHANGELOG skeleton 2017-05-15 18:57:12 -07:00
Chris Roberts ca3095cb5e Bump version for new development 2017-05-15 18:49:07 -07:00
Chris Roberts e28fafb54d Update download version to 1.9.5 2017-05-15 18:46:26 -07:00
Chris Roberts 0d134b1d22 Release v1.9.5 2017-05-15 16:15:21 -07:00
Chris Roberts db554fc5b3 Update CHANGELOG 2017-05-15 09:18:39 -07:00
Chris Roberts 57924e626b Merge pull request #8576 from chrisroberts/enhancement/docker-compose
Add optional compose driver
2017-05-15 09:17:17 -07:00
Chris Roberts 3e05ac0639 Stub out the which check within compose tests 2017-05-15 09:09:25 -07:00
Chris Roberts 27ca3ef831 Convert Windows paths in volumes if detected 2017-05-12 15:11:10 -07:00
Chris Roberts 36ecd40c52 Support optional detach and pass blocks through to execution. 2017-05-12 15:09:30 -07:00
Chris Roberts 6096bb299b Only set image if option given. Do not apply when setting build options. 2017-05-12 15:09:30 -07:00
Chris Roberts ed1b25f1b2 Include spec coverage on compose driver 2017-05-12 15:09:30 -07:00
Chris Roberts 42c9042221 Deep merge configuration settings and set any extra options 2017-05-12 15:09:30 -07:00
Chris Roberts ed8378bcf5 Add output for incorrect type on compose_configuration option 2017-05-12 15:09:30 -07:00
Chris Roberts 9242a69545 Allow direct set of composition and ensure basic types are used 2017-05-12 15:09:30 -07:00
Chris Roberts 4673bbb907 Properly define service build within composition. Full cleanup on destroy. 2017-05-12 15:09:30 -07:00
Chris Roberts b333e5cd82 Fix argument construction when adding dockerfile path
Fixes #7914
2017-05-12 15:09:30 -07:00
Chris Roberts d1c1c175a0 Support modifications of composition outside services 2017-05-12 15:09:30 -07:00
Chris Roberts d4bfade19f Include documentation on accessor in docker provider configuration 2017-05-12 15:09:30 -07:00