gogetit 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gogetit/version.rb +1 -1
- data/lib/providers/libvirt.rb +5 -0
- data/lib/providers/lxd.rb +2 -0
- 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: 189676ebde7be09dac5cc9fd4758310439c4bd7a
|
4
|
+
data.tar.gz: a80deb5871078c52242bac81b2c12729ee9db3d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8316d03160b682203350a40537b63f98f7bc33b149cef1dbac71704efc902243a071a4723b48da6de0c87083d2f7d9d1af879fd281fc5dd8bb3a188f64db65f5
|
7
|
+
data.tar.gz: 1cb05e46d94d20c88a4fd86aef25e39d943e27f2d91da42a1eafb336fed0f0a6164d31bea0e8561f0199b8e063e0792a64d9f96d1565220c82a8f800c499ebd2
|
data/lib/gogetit/version.rb
CHANGED
data/lib/providers/libvirt.rb
CHANGED
@@ -211,6 +211,8 @@ module Gogetit
|
|
211
211
|
logger.info("#{domain[:name]} has been created.")
|
212
212
|
puts "ssh #{distro_name}@#{name}"
|
213
213
|
|
214
|
+
domain[:default_user] = distro_name
|
215
|
+
|
214
216
|
{ result: true, info: domain }
|
215
217
|
end
|
216
218
|
|
@@ -294,6 +296,9 @@ module Gogetit
|
|
294
296
|
|
295
297
|
logger.info("#{name} has been created.")
|
296
298
|
puts "ssh #{distro_name}@#{name}"
|
299
|
+
|
300
|
+
distro[:default_user] = distro_name
|
301
|
+
|
297
302
|
{ result: true, info: distro }
|
298
303
|
end
|
299
304
|
|
data/lib/providers/lxd.rb
CHANGED
@@ -408,6 +408,8 @@ echo \"RevokedKeys #{config[:cloud_init][:ssh_ca_public_key][:revocation_path]}\
|
|
408
408
|
default_user = config[:default][:user]
|
409
409
|
end
|
410
410
|
|
411
|
+
args[:default_user] = default_user
|
412
|
+
|
411
413
|
wait_until_available(ip_or_fqdn, default_user, logger)
|
412
414
|
logger.info("#{name} has been created.")
|
413
415
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gogetit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Don Draper
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|