vagrant-libvirt 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-libvirt/action.rb +5 -3
- data/lib/vagrant-libvirt/version +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 222341781630e6677eb79c302c0d658e9684ff55c9ebc596de959e32186de2d7
|
4
|
+
data.tar.gz: ae974712832e934acf1d696365db7c42b5efb53521f8ebd7227bf9be3891f8cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d839a81423674ae57497e45265d839b19477988074f86f98c421fc7da182f5fdfd8f5314fc6282f27a4454bab0979fd0b4b118d660ab6a92a26ad0ee40707a2
|
7
|
+
data.tar.gz: 2c424318fd5c566512f0237a5b00eae03ff0a89dd8186188870a89f82afd0989640f7367fdad3ee45e1d97f331cab20618a27c4bf019c7e7a84cb4f7e628aba9
|
@@ -77,10 +77,12 @@ module VagrantPlugins
|
|
77
77
|
b.use BoxCheckOutdated
|
78
78
|
b.use Call, IsCreated do |env, b2|
|
79
79
|
b2.use CleanupOnFailure
|
80
|
+
b2.use Provision
|
80
81
|
|
81
82
|
# Create VM if not yet created.
|
82
83
|
if !env[:result]
|
83
84
|
b2.use SetNameOfDomain
|
85
|
+
|
84
86
|
if !env[:machine].config.vm.box
|
85
87
|
b2.use CreateDomain
|
86
88
|
b2.use CreateNetworks
|
@@ -117,7 +119,7 @@ module VagrantPlugins
|
|
117
119
|
# Assuming VM is created, just start it. This action is not called
|
118
120
|
# directly by any subcommand. VM can be suspended, already running or in
|
119
121
|
# poweroff state.
|
120
|
-
def self.action_start
|
122
|
+
private_class_method def self.action_start
|
121
123
|
Vagrant::Action::Builder.new.tap do |b|
|
122
124
|
b.use ConfigValidate
|
123
125
|
b.use Call, IsRunning do |env, b2|
|
@@ -140,8 +142,6 @@ module VagrantPlugins
|
|
140
142
|
b3.use StartDomain
|
141
143
|
else
|
142
144
|
# VM is not running or suspended.
|
143
|
-
b3.use Provision
|
144
|
-
|
145
145
|
b3.use PrepareNFSValidIds
|
146
146
|
b3.use SyncedFolderCleanup
|
147
147
|
b3.use SyncedFolders
|
@@ -352,6 +352,8 @@ module VagrantPlugins
|
|
352
352
|
end
|
353
353
|
b3.use CreateNetworks
|
354
354
|
b3.use ResumeDomain
|
355
|
+
b3.use Provision
|
356
|
+
b3.use WaitForCommunicator, [:running]
|
355
357
|
end
|
356
358
|
end
|
357
359
|
end
|
data/lib/vagrant-libvirt/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-libvirt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Stanek
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2022-04-
|
14
|
+
date: 2022-04-21 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rspec-core
|