6ff2830247
This commit adds the '-E' option for all the sudo commands in build script of agent which causes it to preserve environment variables. Change-Id: Ic3fbc4ee8189cc82ef99359bf61eef33dae40a5a Closes-Bug: 1371418
13 lines
384 B
Bash
Executable File
13 lines
384 B
Bash
Executable File
#!/bin/bash -xe
|
|
#
|
|
# From a base-trusty node, this should build a CoreOS IPA image
|
|
# suitable for use in testing or production.
|
|
#
|
|
sudo -E apt-get update
|
|
sudo -E apt-get install -y docker.io
|
|
|
|
imagebuild/coreos/build_coreos_image.sh
|
|
|
|
BUILD_DIR=imagebuild/coreos/UPLOAD
|
|
tar czf ipa-coreos.tar.gz $BUILD_DIR/coreos_production_pxe_image-oem.cpio.gz $BUILD_DIR/coreos_production_pxe.vmlinuz
|