foreman_azure_rm 2.0.7 → 2.0.8
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: a2d29d9fff7cb29f082a0c008cd3d9b79bf57f393db10f361abf90fbbd6509d5
|
4
|
+
data.tar.gz: 40bd288f1f3767674748b10db7592c1dfaab600dcd1d0ff87a858a63787a5690
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f602a038538c724ca912136bc02f6d6800b113eae462fdf860bcb24823af283767d95fae75811f76b622191b374dc8ebb5bb17c02656c2acf93aa2ef909fc47d
|
7
|
+
data.tar.gz: daf44548c0678ceb8ca3f00c7e5b7ad66f7f66ad337c2e09c2dd0b4ad697fa0ca935a0d559f3b0e39ea3b77d375315e100dfd3f5c547e60ef85eb8d76b2e23b8
|
@@ -188,8 +188,12 @@ module ForemanAzureRm
|
|
188
188
|
# Index is based on script_command that is being injected
|
189
189
|
# from the code in #create_vm. It can be partly hard-coded
|
190
190
|
# since the command shall no change frequently.
|
191
|
-
|
192
|
-
|
191
|
+
if ssh_key_data.nil?
|
192
|
+
user_cmd_index = (vm_extension.settings["commandToExecute"].index("-c"))+ 4
|
193
|
+
script_command = vm_extension.settings["commandToExecute"][user_cmd_index..-2]
|
194
|
+
else
|
195
|
+
vm_extension.settings["commandToExecute"]
|
196
|
+
end
|
193
197
|
else
|
194
198
|
@script_command
|
195
199
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_azure_rm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aditi Puntambekar
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-02-
|
13
|
+
date: 2020-02-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: deface
|