summaryrefslogtreecommitdiffstats
path: root/vagrant/basebuild/bootstrap.sh
diff options
context:
space:
mode:
authorC.J. Collier <cjcollier@linuxfoundation.org>2016-05-17 12:03:02 -0700
committerC.J. Collier <cjcollier@linuxfoundation.org>2016-05-20 00:44:54 +0000
commit2aa973ce201fdeb5d385708ae243ab14d3bcefb7 (patch)
tree469321109e1b0b1635f915576279715f5b7a7685 /vagrant/basebuild/bootstrap.sh
parentaf6a29cc42a369863f324e675cbaf1cb9aaa32da (diff)
Document the process of re-spinning an image
* Document the process of respinning jcloud images in README.txt * Create /scripts/respin-jcloud-images.sh * Create /vagrant/lib/respin-functions.sh * Automate the process of fetching latest base images * Automate the process of creating new "LF upload" snapshots * Automate process of creating jcloud image - Boot fresh VM - run bootstrap.sh - run system_reseal.sh - snapshot re-sealed system * Unable to automate updating jcloud image regex for staging nodes * Correct shasum to sha1sum * Add cloud-initramfs-* to PACKAGES list * Install cloud-init during system reseal Change-Id: Ie70d5f1fdee0e9f06810da6f37bfc710e3e06b8e Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
Diffstat (limited to 'vagrant/basebuild/bootstrap.sh')
-rw-r--r--vagrant/basebuild/bootstrap.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/vagrant/basebuild/bootstrap.sh b/vagrant/basebuild/bootstrap.sh
index 6e0735c86..4aea50d65 100644
--- a/vagrant/basebuild/bootstrap.sh
+++ b/vagrant/basebuild/bootstrap.sh
@@ -9,8 +9,8 @@ set -e
do_setup
# record the bootstrap.sh checksum
-shasum $0 > /etc/bootstrap.sha
-shasum /vagrant/lib/bootstrap-functions.sh > /etc/bootstrap-functions.sha
+sha1sum $0 > /etc/bootstrap.sha
+sha1sum /vagrant/lib/bootstrap-functions.sh > /etc/bootstrap-functions.sha
echo "---> Attempting to detect OS"
# OS selector
@@ -26,7 +26,6 @@ then
echo "---> Debian type system detected"
export DEBIAN_FRONTEND=noninteractive
- deb_enable_serial_console
deb_aptconf_batchconf
deb_sync_minor
deb_correct_shell