commit | 3c3e11ca13cea587636f00eb0dfc5c010d635cf1 | [log] [tgz] |
---|---|---|
author | Blake Bender <bbender@pivotal.io> | Wed Apr 17 15:27:54 2019 -0700 |
committer | Blake Bender <bbender@pivotal.io> | Wed Apr 17 15:27:54 2019 -0700 |
tree | 6f9c745dce100cfe95f962c1b720b88e78b5e8be | |
parent | ce8e30fa29462a6705fa2dd1232e8bf440878766 [diff] |
Add a 30-second wait before running update script - hopefully this will end contention for /var/lib/apt/lists/lock
diff --git a/packer/build-ubuntu.json b/packer/build-ubuntu.json index 35c48a1..8bfbeac 100644 --- a/packer/build-ubuntu.json +++ b/packer/build-ubuntu.json
@@ -33,6 +33,7 @@ { "type":"shell", "execute_command":"{{.Vars}} sudo -E -S bash '{{.Path}}'", + "pause_before":"30s", "scripts":[ "ubuntu/update.sh" ]