Mitchell Hashimoto
e93038fd0e
providers/hyperv: suspend/resume
2014-02-27 08:13:11 -08:00
Mitchell Hashimoto
784a5b2e32
providers/hyperv: all sorts of tests to verify Windows/admins
2014-02-27 08:12:51 -08:00
Mitchell Hashimoto
a1958ee12f
providers/hyperv: shuffle things around
2014-02-27 08:12:48 -08:00
Mitchell Hashimoto
6b17783688
synced_folders/nfs: unavailable on Windows
2014-02-27 08:11:50 -08:00
Mitchell Hashimoto
5f1caf3ada
core: re-ask if confirmation bad input [GH-3027]
2014-02-26 08:01:45 -08:00
Mitchell Hashimoto
dfee3f8445
core: default URL will be https
2014-02-25 21:39:32 -08:00
Mitchell Hashimoto
b8676a65dd
core: Vagrant.server_url should default if empty
2014-02-25 21:39:05 -08:00
Lucas Heinlen
e530108b6a
Do not to_s the machine id if it is nil
...
When destroying a machine, the machine id is set to nil, the to_s causes it to be set to empty string. This can cause inconsistent behavior in anything (such as plugins) that tests the machine id.
2014-02-24 15:43:58 -05:00
Mitchell Hashimoto
4c070a04d2
core: if can't communicate, force halt right away
2014-02-23 22:25:59 -08:00
Mitchell Hashimoto
8bb0094113
Avoid locking in trap context
2014-02-23 22:22:18 -08:00
Mitchell Hashimoto
a667893cbf
provisioners/shell: error if invalid encoding [GH-3000]
2014-02-23 21:50:53 -08:00
Mitchell Hashimoto
399a3e48da
core: provisioner sentinel should check machine ID
2014-02-23 21:23:31 -08:00
Mitchell Hashimoto
0e3b3d654d
Depend on ChildProcess 0.5.0, fix bugs
2014-02-18 11:15:19 -08:00
Mitchell Hashimoto
4f89bdb947
core: disable parallelization if only one action
2014-02-15 16:37:27 -08:00
Mitchell Hashimoto
4e90aa7824
core: copy all sub-directories in a box properly
...
This avoids an Errno::EACCES on windows, although I'm really unsure why.
2014-02-15 15:55:33 -08:00
Mitchell Hashimoto
a4f64d0148
core: ui can hide details
2014-02-13 21:09:02 -08:00
Mitchell Hashimoto
d2d96a0726
core: keep process group for SSH childprocess
2014-02-13 16:45:45 -08:00
Mitchell Hashimoto
5fb64dfca2
core: use Process#wait since childprocess bug is fixed
2014-02-13 07:40:33 -08:00
Mitchell Hashimoto
8bfb4bda2b
core: make sure any Subprocess exits no matter what
2014-02-12 21:35:54 -08:00
Mitchell Hashimoto
42fa0a6540
core: poll for process exit on SSH#exec with subprocess
2014-02-12 21:31:05 -08:00
Mitchell Hashimoto
79581df71b
core: chomp the version so we can echo into it
2014-02-12 15:01:12 -08:00
Mitchell Hashimoto
2c72c32df0
core: Modify Bundler settings to work with restricted permissions
...
This includes two changes:
1. Change the Vagrant requirement to use the "= VERSION" constraint.
The "path:" previously requires write permission in the directory
of the gemspec, which we don't have in installers.
2. Set a BUNDLE_APP_CONFIG and BUNDLE_PATH setting. By setting this,
Bundler won't ask for sudo password. Bundler never actually needs it;
it is just overly aggressive in thinking it does.
2014-02-12 14:24:17 -08:00
Mitchell Hashimoto
06a7c88316
core: HandleBox keeps the same machine instance
2014-02-11 16:06:03 -08:00
Mitchell Hashimoto
c280af0b9c
core: keep the same UI when handling a box URL
2014-02-11 16:03:25 -08:00
Mitchell Hashimoto
2550a76edb
core: Machine can set box
2014-02-11 13:31:50 -08:00
Mitchell Hashimoto
dd9dd5127c
Merge pull request #2948 from gnawhleinad/master
...
command/*: clean up usage
2014-02-10 09:02:32 -08:00
Mitchell Hashimoto
342fba8182
core: Ui::Prefixed values instance-level opts
2014-02-08 15:15:06 -08:00
Mitchell Hashimoto
e6ca9d6f81
core: Ui::Prefixed can take prefix_spaces option
2014-02-08 15:14:21 -08:00
Mitchell Hashimoto
2d7c161f49
core: Ui#dup works properly
2014-02-08 15:11:51 -08:00
Mitchell Hashimoto
86454ddac9
core: Environment#lock tests
2014-02-08 14:50:52 -08:00
Mitchell Hashimoto
1e50e7aca1
core: Prefixed UI only requests bolding if not specified at instance-level
2014-02-08 14:26:26 -08:00
Mitchell Hashimoto
efc1bf50dd
core: Machine#with_ui
2014-02-08 14:03:31 -08:00
gnawhleinad
fbcac2978e
clean up usage
2014-02-08 00:20:50 -08:00
Mitchell Hashimoto
2846850306
core: HandleBox reloads machine from proper Vagrantfile
2014-02-07 11:51:04 -08:00
Mitchell Hashimoto
46a42eb9c2
core: when loading box metadata, specify JSON header
2014-02-07 10:51:57 -08:00
Mitchell Hashimoto
b9aa2acddc
core: request JSON type when getting the metadata URL
2014-02-07 10:33:08 -08:00
Mitchell Hashimoto
d4c753c48d
core: download metadata with JSON accept header
2014-02-07 10:30:25 -08:00
Mitchell Hashimoto
8e9ceeaf5c
core: Machine has reference to Vagrantfile
2014-02-07 09:16:55 -08:00
Mitchell Hashimoto
66f722ef68
core: Alphabetize functions and comment better in Environment
2014-02-06 21:36:57 -08:00
Mitchell Hashimoto
8af67cf241
core: update docs for Vagrant::Environment
2014-02-06 21:33:28 -08:00
Mitchell Hashimoto
3533256cd7
core: Vagrantfile can create machines, Environment#machine uses that
2014-02-06 21:31:11 -08:00
Mitchell Hashimoto
506e1a433f
core: Vagrantfile#machine_config returns more info now
2014-02-06 21:04:59 -08:00
Mitchell Hashimoto
e2403c093d
core: Vagrantfile class now adheres to box_version
2014-02-06 20:17:24 -08:00
Mitchell Hashimoto
7549704c5b
core: Environment#config_global is gone!
2014-02-06 20:12:16 -08:00
Mitchell Hashimoto
e3a67f7ab6
core: Environment uses the new Vagrantflie class
2014-02-06 20:12:15 -08:00
Mitchell Hashimoto
99346cc516
core: add Vagrantfile class, tests
2014-02-06 20:11:12 -08:00
Mitchell Hashimoto
cac0fdb490
core: Add the default server URL
2014-02-05 21:20:37 -08:00
Mitchell Hashimoto
becc349846
core: handle native windows paths like 'c:\foo.box'
...
[GH-2081]
2014-02-05 21:20:35 -08:00
Mitchell Hashimoto
751b4da2c6
core: if box is unversioned, check update does nothing
2014-02-05 21:20:32 -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
433e789a99
core: set URL to opaque if there is no path
2014-02-05 21:20:30 -08:00
Mitchell Hashimoto
b194525521
core: output a newline after ask with no echo
2014-02-05 21:20:28 -08:00
Mitchell Hashimoto
1a7b78e00e
core: UI supports not echoing
2014-02-05 21:20:27 -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
43157fba18
core: output the version that is added with BoxAdd
2014-02-05 21:20:20 -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
ea06202903
core: get rid of unnecessary lines
2014-02-05 21:20:15 -08:00
Mitchell Hashimoto
b5157df2cc
core: BoxCheckOutdated only runs if told to
2014-02-05 21:20:14 -08:00
Mitchell Hashimoto
8cc16d14fa
core: BoxCheckOutdated checks locally
2014-02-05 21:20:13 -08:00
Mitchell Hashimoto
d78194654d
core: ability to hide success UI
2014-02-05 21:20:12 -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
b81686e2c9
core: BoxAdd adds the metadata URL
2014-02-05 21:20:08 -08:00
Mitchell Hashimoto
bd9f375263
core: Box can store a metadata URL
2014-02-05 21:20:07 -08:00
Mitchell Hashimoto
e9afe386c1
core: remove BoxUpgradeRequired exception
2014-02-05 21:20:06 -08:00
Mitchell Hashimoto
d278fb2661
core: catch ENOENT as not a metadata URL
2014-02-05 21:20:04 -08:00
Mitchell Hashimoto
2ea6f92a6c
core: Cleaner output for BoxAdd
2014-02-05 21:20:03 -08:00
Mitchell Hashimoto
fa77d6810f
core: BoxAdd expands URL paths
2014-02-05 21:20:02 -08:00
Mitchell Hashimoto
8ab3ae1bef
core: BoxAdd UI looks better
2014-02-05 21:20:00 -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
b23ad41c40
core: HandleBox reloads the box
2014-02-05 21:19:57 -08:00
Mitchell Hashimoto
f2c4adc4ee
core: use symbol names for providers everywhere
2014-02-05 21:19:56 -08:00
Mitchell Hashimoto
e316e10552
core: make sure the env has the UI in it for adding boxes
2014-02-05 21:19:55 -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
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
5aba445cac
core: shorthand box adds wor
2014-02-05 21:19:47 -08:00
Mitchell Hashimoto
f9fe025d10
core: helper to get the server URL
2014-02-05 21:19:46 -08:00
Mitchell Hashimoto
7b8002eba7
core: don't prefix ask statements
2014-02-05 21:19:45 -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
8ef13b037c
core: add a space to the question;
2014-02-05 21:19:40 -08:00
Mitchell Hashimoto
f9c9559320
core: ask what provider to use if multiple providers
2014-02-05 21:19:38 -08:00
Mitchell Hashimoto
e38ce34e56
core: make the BoxAdd UI look a bit better
2014-02-05 21:19:37 -08:00
Mitchell Hashimoto
acc57a3c18
core: clarify output for boxadd error message
2014-02-05 21:19:36 -08:00
Mitchell Hashimoto
0fceed6ff4
core: BoxAdd uses the proper path on Unix
2014-02-05 21:19:35 -08:00
Mitchell Hashimoto
05eeefbe36
core: Fix Downloader tests
2014-02-05 21:19:34 -08:00
Mitchell Hashimoto
c31feb0e94
core: fix missing interpolation for boxcollection
2014-02-05 21:19:33 -08:00
Mitchell Hashimoto
8f0f0506d6
core: BoxAdd requires name if old-style box
2014-02-05 21:19:32 -08:00
Mitchell Hashimoto
09e8666296
core: BoxAdd now works with HTTP URLs
2014-02-05 21:19:31 -08:00
Mitchell Hashimoto
03b22ab9a1
core: add the box_added to the middleware
2014-02-05 21:19:30 -08:00
Mitchell Hashimoto
1ca7f86f76
core: verify providers with direct box adding
2014-02-05 21:19:29 -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
c1989603be
core: adding from metadata wlil force if specified
2014-02-05 21:19:27 -08:00
Mitchell Hashimoto
2a08302145
core: BoxAdd can add old boxes (happy path)
2014-02-05 21:19:26 -08:00
Mitchell Hashimoto
961d3607b9
core: add newline to end of download if windows
2014-02-05 21:19:24 -08:00
Mitchell Hashimoto
adbcc9f34e
core: delete the temporary file if adding succeeds
2014-02-05 21:19:23 -08:00