vagrant-lxd 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Rakefile +1 -1
- data/lib/vagrant-lxd.rb +1 -1
- data/lib/vagrant-lxd/action.rb +1 -1
- data/lib/vagrant-lxd/capability.rb +1 -1
- data/lib/vagrant-lxd/command.rb +1 -1
- data/lib/vagrant-lxd/config.rb +1 -1
- data/lib/vagrant-lxd/driver.rb +3 -2
- data/lib/vagrant-lxd/plugin.rb +1 -1
- data/lib/vagrant-lxd/provider.rb +1 -1
- data/lib/vagrant-lxd/synced_folder.rb +1 -1
- data/lib/vagrant-lxd/version.rb +2 -2
- data/vagrant-lxd.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19b57c015f383c61855e133fbcca178eec5c389b
|
4
|
+
data.tar.gz: ebe1a99f880fa00afdf740e7c1c9f3163b53f22d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7f17bca98f8490e9c773d3848b5348a521e97d6352fae665007fb16b579e3fa74605fd73eccdbeb217cba0c8fa6f889b606e4b06925667d7632cb88a51c9096
|
7
|
+
data.tar.gz: 89218b6793e3ce419c4c9b486d81c8e88e4d35c5b00d22857247558d889f9d2a6faee55adfdecf1d03b38fb201217843507234ef71a5371526c2c9f6eae27dab
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
data/lib/vagrant-lxd.rb
CHANGED
data/lib/vagrant-lxd/action.rb
CHANGED
data/lib/vagrant-lxd/command.rb
CHANGED
data/lib/vagrant-lxd/config.rb
CHANGED
data/lib/vagrant-lxd/driver.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2017-
|
2
|
+
# Copyright (c) 2017-2019 Catalyst.net Ltd
|
3
3
|
#
|
4
4
|
# This file is part of vagrant-lxd.
|
5
5
|
#
|
@@ -244,6 +244,7 @@ module VagrantLXD
|
|
244
244
|
|
245
245
|
def create
|
246
246
|
if in_state? NOT_CREATED
|
247
|
+
image, container = nil, nil
|
247
248
|
machine_id = generate_machine_id
|
248
249
|
file, fingerprint = Driver.synchronize { prepare_image_file }
|
249
250
|
|
@@ -269,7 +270,7 @@ module VagrantLXD
|
|
269
270
|
@machine.id = machine_id
|
270
271
|
end
|
271
272
|
rescue Hyperkit::Error => e
|
272
|
-
@lxd.delete_container(
|
273
|
+
@lxd.delete_container(machine_id) rescue nil unless container.nil?
|
273
274
|
@lxd.delete_image(image[:metadata][:fingerprint]) rescue nil unless image.nil?
|
274
275
|
if e.reason =~ /Container '([^']+)' already exists/
|
275
276
|
@machine.ui.error e.reason
|
data/lib/vagrant-lxd/plugin.rb
CHANGED
data/lib/vagrant-lxd/provider.rb
CHANGED
data/lib/vagrant-lxd/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright (c) 2017-
|
2
|
+
# Copyright (c) 2017-2019 Catalyst.net Ltd
|
3
3
|
#
|
4
4
|
# This file is part of vagrant-lxd.
|
5
5
|
#
|
@@ -20,7 +20,7 @@
|
|
20
20
|
module VagrantLXD
|
21
21
|
module Version
|
22
22
|
NAME = 'vagrant-lxd'
|
23
|
-
VERSION = '0.3.
|
23
|
+
VERSION = '0.3.4'
|
24
24
|
DESCRIPTION = 'Vagrant LXD provider'
|
25
25
|
end
|
26
26
|
end
|
data/vagrant-lxd.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-lxd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Hanson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hyperkit
|