First steps to director side errand cancellation

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Separate task start and task polling in agent client.

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>
Ensure errand results are retrieved even if it is canceled

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Send agent cancel_task message when errand is canceled
formatting
Ruby agent handles cancel_task method (though no one implements it yet)
Implement cancel errand in Ruby agent

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Handle errand cancellation in CLI and director task.

Add integration test

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Wait for errand VM during integration test

  * Refactor BoshRunner to allow choice of working directory

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Include TMPDIR when running errand script

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Use pkg_mgr by default to install linux image and headers

Ubuntu/lucid image and headers are installed from assets/*

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
use /sbin/rescan-scsi-bus on ubuntu, and update older releases to match

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
OS image builds accept operating system version

* for ubuntu, used to construct the os spec file name
* ignored on centos
* available to stage config scripts

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Include version in stemcell filename

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Update debootstrap to 1.0.59 when building trusty stemcell

Debootstrap previous to 1.0.53 leaves udev daemon child process when
building trusty release
(https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1182540)
This resulted in hanging IO process that was waiting for debootstrap and
its children to finish. This is not an issue when building lucid release.
Split ubuntu stemcell specs by version

Signed-off-by: Adam Stegman <astegman@pivotallabs.com>
Follow symlinks when searching for binaries with allowed setuid in test

Ubuntu 14.04 sudoedit is a symbolic link

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Configure /etc/dhcp/dhclient.conf by default

Ubuntu 14.04 uses dhcp config located at /etc/dhcp/dhclient.conf.
Ubuntu 10.04 is using /etc/dhcp3/dhclient.conf. Check if dhcp3 config is
present and configure it instead. When restarting dhclient kill process
dhclient which is the same for Ubuntu 14.04 and Ubuntu 10.04.

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Use operating system version in stemcell building vm Vagrantfile

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Add operating system version to rake build and full_bosh_deploy tasks

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>