Repository: aurora Updated Branches: refs/heads/master 14f975a4a -> 2f480c7f3
Fix packer builder to not prompt for input. Reviewed at https://reviews.apache.org/r/45858/ Project: http://git-wip-us.apache.org/repos/asf/aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/2f480c7f Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/2f480c7f Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/2f480c7f Branch: refs/heads/master Commit: 2f480c7f35ddeab0b39c258a93605e488dc86b96 Parents: 14f975a Author: Bill Farner <[email protected]> Authored: Wed Apr 6 19:55:49 2016 -0700 Committer: Bill Farner <[email protected]> Committed: Wed Apr 6 19:55:49 2016 -0700 ---------------------------------------------------------------------- build-support/packer/README.md | 2 +- build-support/packer/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora/blob/2f480c7f/build-support/packer/README.md ---------------------------------------------------------------------- diff --git a/build-support/packer/README.md b/build-support/packer/README.md index c76b909..b3570ad 100644 --- a/build-support/packer/README.md +++ b/build-support/packer/README.md @@ -29,7 +29,7 @@ will be helpful to update this box and keep this cost low. 4. Build the new box Using the path from the previous step, run the following command to start the build. - $ packer build -var 'base_box_ovf=$UBUNTU_OVF' aurora.json + $ packer build -var "base_box_ovf=$UBUNTU_OVF" aurora.json This takes a while, approximately 20 minutes. When finished, your working directory will contain a file named `packer_virtualbox-ovf_virtualbox.box`. http://git-wip-us.apache.org/repos/asf/aurora/blob/2f480c7f/build-support/packer/build.sh ---------------------------------------------------------------------- diff --git a/build-support/packer/build.sh b/build-support/packer/build.sh index 38f02e3..146e62e 100644 --- a/build-support/packer/build.sh +++ b/build-support/packer/build.sh @@ -47,7 +47,7 @@ function install_base_packages { function install_docker { # Instructions from https://docs.docker.com/engine/installation/linux/ubuntulinux/ - apt-get install apt-transport-https ca-certificates + apt-get install -y apt-transport-https ca-certificates apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 \ --recv-keys 58118E89F3A912897C070ADBF76221572C52609D echo 'deb https://apt.dockerproject.org/repo ubuntu-trusty main' \
