vagrant-lxd 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -8
- data/doc/setting-up-lxd.md +2 -2
- data/lib/vagrant-lxd/driver.rb +2 -0
- data/lib/vagrant-lxd/version.rb +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: b89636a6a97535b4de4e9e3cfb4fcc458fb06f70ca3d55ff7bc62c9bea14c74a
|
4
|
+
data.tar.gz: a3fe8906086a40e8b9ed66840834990832a401569a70373d99ee8b81281e47a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0289b302cb01183cea109c3dc80aa61ea0d54350b9d9ae1539bed266f784f37f12b4ce64711afe9cc17cedcac87d0825ad51df1aa66fe90a1df750fa9e9a9e9
|
7
|
+
data.tar.gz: 180e12636dd09fed787989067229a4f501120dfcdfac46ec6cdeb1d799254ddd4e5f305b51a272c4b8e10b30fd68efdaf9280088299c25294655e2c95eef5736
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
GIT
|
2
2
|
remote: https://github.com/mitchellh/vagrant.git
|
3
|
-
revision:
|
3
|
+
revision: f19eb286e4cc2aeae06b632ef1fa44db499df403
|
4
4
|
specs:
|
5
|
-
vagrant (2.2.
|
5
|
+
vagrant (2.2.11.dev)
|
6
6
|
bcrypt_pbkdf (~> 1.0.0)
|
7
7
|
childprocess (~> 4.0.0)
|
8
8
|
ed25519 (~> 1.2.4)
|
9
|
-
|
9
|
+
erubi
|
10
10
|
hashicorp-checkpoint (~> 0.1.5)
|
11
11
|
i18n (~> 1.8)
|
12
12
|
listen (~> 3.1)
|
@@ -28,7 +28,7 @@ GIT
|
|
28
28
|
PATH
|
29
29
|
remote: .
|
30
30
|
specs:
|
31
|
-
vagrant-lxd (0.5.
|
31
|
+
vagrant-lxd (0.5.3)
|
32
32
|
activesupport (~> 5.2.3)
|
33
33
|
faraday (~> 0.17)
|
34
34
|
hyperkit (~> 1.3.0)
|
@@ -52,7 +52,6 @@ GEM
|
|
52
52
|
unf (>= 0.0.5, < 1.0.0)
|
53
53
|
ed25519 (1.2.4)
|
54
54
|
erubi (1.9.0)
|
55
|
-
erubis (2.7.0)
|
56
55
|
fakefs (1.2.2)
|
57
56
|
faraday (0.17.3)
|
58
57
|
multipart-post (>= 1.2, < 3)
|
@@ -107,7 +106,7 @@ GEM
|
|
107
106
|
rspec-core (~> 3.9.0)
|
108
107
|
rspec-expectations (~> 3.9.0)
|
109
108
|
rspec-mocks (~> 3.9.0)
|
110
|
-
rspec-core (3.9.
|
109
|
+
rspec-core (3.9.3)
|
111
110
|
rspec-support (~> 3.9.3)
|
112
111
|
rspec-expectations (3.9.2)
|
113
112
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -143,11 +142,11 @@ GEM
|
|
143
142
|
logging (>= 1.6.1, < 3.0)
|
144
143
|
nori (~> 2.0)
|
145
144
|
rubyntlm (~> 0.6.0, >= 0.6.1)
|
146
|
-
winrm-elevated (1.2.
|
145
|
+
winrm-elevated (1.2.2)
|
147
146
|
erubi (~> 1.8)
|
148
147
|
winrm (~> 2.0)
|
149
148
|
winrm-fs (~> 1.0)
|
150
|
-
winrm-fs (1.3.
|
149
|
+
winrm-fs (1.3.5)
|
151
150
|
erubi (~> 1.8)
|
152
151
|
logging (>= 1.6.1, < 3.0)
|
153
152
|
rubyzip (~> 2.0)
|
data/doc/setting-up-lxd.md
CHANGED
@@ -22,7 +22,7 @@ sudo apt install -y lxd
|
|
22
22
|
sudo lxd init --auto --network-address=127.0.0.1 --network-port=8443
|
23
23
|
|
24
24
|
# add your user to the lxd group
|
25
|
-
sudo usermod -a
|
25
|
+
sudo usermod -a -G lxd $(whoami)
|
26
26
|
|
27
27
|
# apply the new group membership
|
28
28
|
newgrp lxd
|
@@ -64,7 +64,7 @@ sudo lxd init --auto --network-address=127.0.0.1 --network-port=8443
|
|
64
64
|
sudo dpkg-reconfigure -p medium lxd
|
65
65
|
|
66
66
|
# add your user to the lxd group
|
67
|
-
sudo usermod -a
|
67
|
+
sudo usermod -a -G lxd $(whoami)
|
68
68
|
```
|
69
69
|
|
70
70
|
Once LXD is configured, you should register a client certificate for
|
data/lib/vagrant-lxd/driver.rb
CHANGED
@@ -530,6 +530,8 @@ module VagrantLXD
|
|
530
530
|
# If the user has already specified a 'raw.idmap', leave it alone.
|
531
531
|
if config.include?(:'raw.idmap')
|
532
532
|
# Manually specified, carry on.
|
533
|
+
elsif @machine.config.vm.synced_folders.reject { |_, f| f[:disabled] }.empty?
|
534
|
+
# No synced folders configured, carry on.
|
533
535
|
elsif @machine.env.host.capability(:synced_folders)
|
534
536
|
config[:'raw.idmap'] = ''
|
535
537
|
config[:'raw.idmap'] << "uid #{Process.uid} #{vagrant_uid}\n"
|
data/lib/vagrant-lxd/version.rb
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.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Hanson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|