fog-softlayer 0.3.10 → 0.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/fog/softlayer/models/compute/server.rb +4 -1
- data/lib/fog/softlayer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NWViYzVmZGQ4ZWMyNmNmZDhiYTY4ZmRkYzc5ZDQ1YzkyMzVjZDIzYg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MDJlNDEzZjU1NDBkNTkwZDI0YjliYjUxNTdmMWI5NzY5Yjg5YjMwNw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZjU2ZTU3OWYxYTU5YzVkYjhmNDcxYjIzOGU2NmZiYTM3ZWZjMTIwN2E2N2M3
|
|
10
|
+
NDA5MWZiMTllMDAzMDkzZjZlYmRlMjI2MmYyMjdmNGJhNzE3MjQzMmY1Nzc4
|
|
11
|
+
ODYxZmVkZDg1Njk4NWNmYzU3MGY2OTExYjY5OTFiMWQyNDRkODQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ZGM4NWJjN2U5ZDMwYTVmYWI4ODMzNzg2ZmU4NTgxNTFjYjIxOGU1Mjg3ODkz
|
|
14
|
+
MjRiNTQzYjRhZDJhOTkzM2JlMTY0ZWI5MWI5MGE3ZWU3OWQ4ZjNiNjE2ZTM4
|
|
15
|
+
MjAyODA2NzBhYTlmYjcxODFmYWE2YjQyNzk2NDZkMDkxYWViNjI=
|
|
@@ -196,7 +196,10 @@ module Fog
|
|
|
196
196
|
end
|
|
197
197
|
|
|
198
198
|
def ssh_password
|
|
199
|
-
|
|
199
|
+
requires :id
|
|
200
|
+
service_path = bare_metal? ? :hardware_server : :virtual_guest
|
|
201
|
+
@sshpass ||= service.request(service_path, id, :query => 'objectMask=mask[id,operatingSystem.passwords[password]]').body
|
|
202
|
+
@sshpass['operatingSystem']['passwords'][0]['password'] unless @sshpass['operatingSystem'].nil? or @sshpass['operatingSystem']['passwords'].empty?
|
|
200
203
|
end
|
|
201
204
|
|
|
202
205
|
def snapshot
|