summaryrefslogtreecommitdiffstats
path: root/vagrant
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-05-11 11:44:28 -0500
committerEd Warnicke <eaw@cisco.com>2016-05-16 14:45:15 -0500
commit39f70768ba8149972ce55f805a76029a8711bf7b (patch)
tree70cdd03ffdbd06d5d9cbeb9982e1d1ede61519f6 /vagrant
parentbb64baaa92b5f8111cb50d150fcdbad1d8a238db (diff)
Instrument Jenkins images/builds
This patch instruments so we can be certain *what* bootstrap.sh was used to build the running image and what include-raw-vpp-build.sh was run for the Job Change-Id: I69782c3bca71f24d24133205130be059a14a114c Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'vagrant')
-rw-r--r--vagrant/basebuild/bootstrap.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/vagrant/basebuild/bootstrap.sh b/vagrant/basebuild/bootstrap.sh
index c8cc87492..a0f5c7f25 100644
--- a/vagrant/basebuild/bootstrap.sh
+++ b/vagrant/basebuild/bootstrap.sh
@@ -8,6 +8,9 @@ set -e
do_setup
+# record the bootstrap.sh checksum
+shasum $0 > /etc/bootstrap.sha
+
echo "---> Attempting to detect OS"
# OS selector
if [ -f /usr/bin/yum ]