bosh-stemcell 1.3173.0 → 1.3177.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
  SHA1:
3
- metadata.gz: 90e73459b390c27e55578b0dd92c4d24e7090ab3
4
- data.tar.gz: 9191e922a6c9fe478c67761761abafec1be2d9a0
3
+ metadata.gz: 39b41bcfe05b857dd20382a587de8efe518fc2ee
4
+ data.tar.gz: fb90f0436fe44db3f6f36b436613729ec730f7d3
5
5
  SHA512:
6
- metadata.gz: d07bbcf03db1545144b1cbfa7c2f326b5eb867bdc708da959aa50a1e17c7c2b23a2589ce0f8089c3ede1642837783946eec34e3baaf393f9f37ebff05f0456c9
7
- data.tar.gz: eda694ae214279f93e522689e4f15ee476793edff1ba6f4ae8be03318ec1add7bf5986b4c507653003511f5110076b7da0a9b3c2e2b33272b4e3c67cb568fda1
6
+ metadata.gz: 836f0541b3cc1be6453defc76e2a3d73c20143b02846decb4db4d587b42293a9695da64c1466a80db9546abd300cfde637c86f66798db57378cf283d79a38233
7
+ data.tar.gz: 4b6a444c953eb800a43d239c7d2f5f16e773e988db86c10e42ee0b9f2ed3ed10d936a5ad85b87bacfabb02f2d6255e5baf6016bf996cb68a704f5040eb2225f5
@@ -1,4 +1,5 @@
1
1
  require 'bosh/core/shell'
2
+ require 'bosh/stemcell/arch'
2
3
  require 'tmpdir'
3
4
 
4
5
  module Bosh::Stemcell
@@ -18,6 +19,7 @@ module Bosh::Stemcell
18
19
  mount_command = "sudo mount #{device_path} #{image_mount_point}"
19
20
  shell.run(mount_command, output_command: verbose)
20
21
  rescue => e
22
+ puts "Failed to mount with error #{e.inspect}"
21
23
  raise e unless e.message.include?(mount_command)
22
24
 
23
25
  sleep 0.5
@@ -50,7 +52,7 @@ module Bosh::Stemcell
50
52
 
51
53
  def map_image
52
54
  @device = shell.run("sudo losetup --show --find #{image_file_path}", output_command: verbose)
53
- if Bosh::Stemcell::Arch.ppc64le?
55
+ if Bosh::Stemcell::Arch.ppc64le?
54
56
  # power8 guest images have a p1: PReP partition and p2: file system, we need loopp2 here
55
57
  shell.run("sudo kpartx -av #{device} | grep \"^add\" | grep \"p2 \"", output_command: verbose)
56
58
  else
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Stemcell
3
- VERSION = '1.3173.0'
3
+ VERSION = '1.3177.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh-stemcell
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3173.0
4
+ version: 1.3177.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-07 00:00:00.000000000 Z
11
+ date: 2016-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bosh_aws_cpi
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.3173.0
33
+ version: 1.3177.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.3173.0
40
+ version: 1.3177.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: fakefs
43
43
  requirement: !ruby/object:Gem::Requirement