Remove duplicate Config instance
Formatting

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Mordernize style of spec

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Globally disable/enable resurrection with the CLI

[#55863304]

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Add args to usage for `vm resurrection`

[#55863304]

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Rework image mounting to be more resilient

  * disk image name is now infrastructure/os specific
  * image mapping, mounting, and partition discovery is more robust

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
Merge branch 'pr/426' into develop
Reformat / cleanup prior to refactoring

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>
kpartx needs help from losetup to map/unmap

* kpartx is also more reliable when passed the device returned by losetup
* [#54321040]

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Run stemcell server specs in builder

* loopback devices are being properly cleaned up now
* [#54321040]

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
Begin testing infrastructure specifics of stemcells

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Move etc/infrastructure into /var/vcap/bosh

Since it is specific to BOSH and not something that would normally be
part of the OS.

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
Pass infrastructure in once

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
Track os in etc/operating_system

* Like etc/infrastructure
* To be used to start agent with correct platform
* [#54321040]

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
Make mount retry work

* exception message was incorrect
* need to wait a split second for retry to be effective

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>
CentOS has bosh agent installed

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>
CentOS has dchlient installed

Signed-off-by: Tony Hansmann <thansmann@pivotallabs.com>
Pass operanting system to agent so it starts on CentOS

[#54321040]

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>