Commit Graph

606 Commits

Author SHA1 Message Date
Dmitry Vasilets
65f14f4fe6 Merge pull request #388 from electrofelix/fix-parallel-up
Fixes #387: Break from mutex synchronize before calling next action
2015-06-08 17:19:30 +02:00
Darragh Bailey
ac7563e6c3 Fixes #387: Break from mutex synchronize before calling next action
Exit the synchronize block before performing calling the next item in
the middleware chain otherwise the mutex lock applies to the entire
provision sequence from that point onwards until the entire chain has
returned to the same point.

Executing a return statement inside a block does not exit the block
automatically. Instead only when the statement returned has been
processed is the wrapping block exited.

Since the return call is actually calling the next action in the chain,
this change ensures that the mutex is not held for subsequent actions
and thus allows vagrant to perform remaining actions in parallel.

Without this all provisioning of machines will always occur serially
instead of parallel when requested.
2015-06-08 16:10:34 +01:00
dima
d12405ed82 0.0.30 2015-06-04 22:46:55 +02:00
Dmitry Vasilets
33850c2567 Merge pull request #383 from dc-bradwadsworth/add_boot_order
Add boot order
2015-06-03 08:18:25 +02:00
Brad Wadsworth
0851b5d804 fixed grammar 2015-06-02 20:33:37 -05:00
Brad Wadsworth
56818642e5 fixed indent and added example 2015-06-02 20:31:21 -05:00
Brad Wadsworth
0b2ebc102b edited domain.xml.erb 2015-06-01 10:26:31 -05:00
Brad Wadsworth
23d0a5b012 changes to boot order option 2015-06-01 10:19:06 -05:00
dima
738ad918a5 Merge branch 'thefallentree-master' 2015-06-01 07:14:51 +02:00
coding
ba9050984e Make NFS correctly detect host/guest addresses.
The logic is that we first gather all usable guest addresses, then
use routing information (through a udp socket) to figure out host
IP for use to connect to guest.
2015-06-01 11:55:27 +08:00
Brad Wadsworth
6c0d15288e added boot_order option 2015-05-29 16:32:20 -05:00
Dmitry Vasilets
76942c38ba Merge pull request #379 from iNecas/no-exception-when-ip-not-ready
Don't raise an error when ip address is not found when calling ssh_info
2015-05-28 10:03:33 +02:00
Ivan Nečas
ba619e04bb Don't raise an error when ip address is not found when calling ssh_info
Vagrant defines that, when the ssh info is not available, the method
should return nil, instead of raising exception:
https://github.com/mitchellh/vagrant/blob/v1.7.2/lib/vagrant/plugin/v2/provider.rb#L52-L75

Also, as per
efd1d5e11b/plugins/providers/virtualbox/provider.rb (L60) , not getting into waiting for the ssh info
when the machine is not running.

The motivation for this patch is the ansible integration issues when raising
the errors and waiting for the ssh info. See also:
https://github.com/mitchellh/vagrant/pull/5743
2015-05-27 12:57:08 +02:00
Dmitry Vasilets
27710febe5 Merge pull request #377 from rds13/removeStaleVolume
add step to remove stale volume on destroy action
2015-05-23 22:05:56 +02:00
Romuald du Song
2e01a54fc3 add step to remove stale volume on destroy action 2015-05-23 21:49:51 +02:00
Dmitry Vasilets
89dd37c843 Merge pull request #376 from rds13/removeGithubAccountDependency
change repo ref to https
2015-05-23 16:12:49 +02:00
Romuald du Song
c5a6107ead change repo ref to https 2015-05-23 15:44:27 +02:00
dima
b6babcdade 0.0.29 2015-05-22 06:44:40 +02:00
dima
fa004ab251 require only read for create image 2015-05-18 09:30:29 +02:00
dima
98e4b3b0be typo 2015-05-18 07:48:39 +02:00
Dmitry Vasilets
b092a5444b Merge pull request #374 from kampka/master
Add ability to specify the machine architecture via the domain arguments
2015-05-18 07:47:09 +02:00
Christian Kampka
298a45d3d8 Add ability to specify the machine architecture via the domain arguments 2015-05-18 07:30:48 +02:00
Dmitry Vasilets
83a0a37b4d Merge pull request #375 from tsl0922/patch-1
README: Add note for remote nfs synced folders
2015-05-18 06:19:47 +02:00
Shuanglei Tao
d4b013a66d Add note for remote nfs synced folders 2015-05-18 11:46:04 +08:00
dima
4de1560027 improve package process 2015-05-17 19:47:07 +02:00
dima
9ad2389a92 remove temp dir after package creation 2015-05-17 16:39:05 +02:00
dima
82c2f69c5d looks good. anyway require more tests. 2015-05-17 15:23:23 +02:00
Shuanglei Tao
6ffad6104f Replace ifconfig with ip addr 2015-05-17 19:59:17 +08:00
Shuanglei Tao
0deb63911b Mounting nfs remotely through bridged public network, fixes #366 2015-05-17 19:10:38 +08:00
Shuanglei Tao
91c768158a Ensure VM booted and network configured before creating synced folders 2015-05-17 19:02:41 +08:00
Dmitry Vasilets
4b7fedbd42 Merge pull request #372 from tsl0922/patch-1
Set private key for proxy_command
2015-05-17 12:51:37 +02:00
Shuanglei Tao
0a23a986b3 Set private key for proxy_command 2015-05-17 18:37:13 +08:00
Dmitry Vasilets
c7f37649ec example for 9p 2015-05-17 10:34:58 +02:00
Dmitry Vasilets
78c525b364 typo 2015-05-17 10:12:42 +02:00
Dmitry Vasilets
4af0163c5e update readme with example accessmode 9p 2015-05-17 10:11:40 +02:00
dima
08037d1941 port tools/create_box.sh to package action. close #11 2015-05-16 17:35:00 +02:00
dima
9fcd9f5873 clean file 2015-05-16 12:05:01 +02:00
Dmitry Vasilets
063ebfc08d Merge pull request #368 from relenda/hotfix-9p-target-template
Fixed wrong target spec in 9p-fs template
2015-05-16 11:00:29 +02:00
Dmitry Vasilets
a08f75a601 Merge pull request #371 from thefallentree/patch-1
Remove extra StartDomain/WaitTillUp
2015-05-16 10:42:52 +02:00
Yucong Sun
834c6b74a9 Remove extra StartDomain/WaitTillUp
Possibly a merge error introduced by 

8d4f16a3f8
2015-05-16 16:41:10 +08:00
Patrick Truebe
a2ec37159c Fixed wrong target spec in 9p-fs template 2015-05-15 15:29:20 +02:00
dima
311bdc5f23 add linker trick for installation as gem 2015-05-15 12:38:50 +02:00
dima
c551196411 fix for custom path 2015-05-14 10:06:55 +02:00
dima
07bcb8f5ee Merge branch 'master' of github.com:pradels/vagrant-libvirt 2015-05-13 08:16:16 +02:00
dima
182809e721 improve storage remove process. close #364 2015-05-13 08:16:03 +02:00
Dmitry Vasilets
dbc857381b typo 2015-05-12 09:38:17 +02:00
dima
4a959d5dcf 0.0.28 2015-05-11 19:12:07 +02:00
dima
c1da985934 fix deps 2015-05-11 19:11:28 +02:00
dima
88d9d9025d 0.0.27 2015-05-10 22:17:44 +02:00
dima
c80062dc38 typo 2015-05-10 19:35:20 +02:00