Add DiskImage for manipulation of image files

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
Run stemcell tests after building image

  * in preparation for testing against the .img instead of chroot dir

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
Stemcell specs run against generated .img

  * instead of pre-image chroot dir

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
Write basic /etc/fstab for CentOS

  * otherwise it will mount / read-only

Signed-off-by: Jesse Zhang <jz@pivotallabs.com>
Fix rubocop method-too-long issue

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>
Extract DeploymentLookup and InstanceLookup from InstanceManager

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
DeploymentManager delegates find_by_name to DeploymentLookup

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
Added endpoint for pausing resurrection on all instances

[#55863304]

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
DiskImage displays commands as they are run

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>
Add server specs for grub and fstab (CentOS)

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>
require ruby_vim_sdk in vSphere client
updated readme
Updated README
Revert "require ruby_vim_sdk in vSphere client"

I broke the build
This reverts commit 3d8ac00418d8a52e8c373e6caf092df7ce150f89.
Disable stemcell image testing

  * ... until kpartx works as expected in CI

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>
Rename for clarity

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>
Add DiskImage#while_mounted

  * ensures that image is unmounted / unmapped

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>
DiskImage uses a tmpdir mount if none is specified

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>
Make DiskImage less noisy

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>
Stemcell specs handle disk image mounting

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>