kitchen-oci 1.20.2 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a54d769982d5c8431894d27ffa4dd0070a0289a910c88d326701fe85e747ea12
|
4
|
+
data.tar.gz: 28522b8b6deabd27202497ba57ddfe5a46d68074e45a7c9058628e92ed11914a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f69b0b7f0f45e20cc16d875d5039e740d1fbca1b83f27d4187f9b4891249dd02d0dac294e5a3c4aa0ae71deebfc3fc49d5a5fc3bb40e38eee4e03e81813fdb13
|
7
|
+
data.tar.gz: 9389db39bfefbce0600de3740c4ec77f95b4a22f6ad7a1faf472dfe8ca26976d0a50b9d74a3c3496c9c84d966e4d4f224798d1bf41b23e1473ef246772d8c9a6
|
@@ -23,7 +23,7 @@ module Kitchen
|
|
23
23
|
# setter methods that populate the details of OCI::Core::Models::LaunchInstanceDetails
|
24
24
|
module ComputeLaunchDetails
|
25
25
|
def hostname_display_name
|
26
|
-
display_name = hostname
|
26
|
+
display_name = config[:display_name] || hostname
|
27
27
|
launch_details.display_name = display_name
|
28
28
|
launch_details.create_vnic_details = create_vnic_details(display_name)
|
29
29
|
end
|
data/lib/kitchen/driver/oci.rb
CHANGED
@@ -60,6 +60,7 @@ module Kitchen
|
|
60
60
|
default_config :instance_name do |inst|
|
61
61
|
inst.instance.name
|
62
62
|
end
|
63
|
+
default_config :display_name, nil
|
63
64
|
default_keypath = File.expand_path(File.join(%w{~ .ssh id_rsa.pub}))
|
64
65
|
default_config :ssh_keypath, default_keypath
|
65
66
|
default_config :post_create_script, nil
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-oci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Pearson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-08-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: oci
|