diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-02-16 10:34:27 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-02-16 10:34:27 +0100 |
commit | 2bbd51abb556b495726bf628ca9c8e7d57bd2358 (patch) | |
tree | d62ee86c56aeabee905f62f512caad35572e46fb | |
parent | d1af6a272c85761271be61952841a9ba63448e96 (diff) |
Make sure java is installed on control slave
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7335cdadd57df117ad5fee2c353ad4cf94a57f9c
-rw-r--r-- | packer/provision/basebuild-no-tmpfs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packer/provision/basebuild-no-tmpfs.sh b/packer/provision/basebuild-no-tmpfs.sh index a5b97a92..18631a88 100644 --- a/packer/provision/basebuild-no-tmpfs.sh +++ b/packer/provision/basebuild-no-tmpfs.sh @@ -38,9 +38,9 @@ DEBIAN_FRONTEND=noninteractive apt-get update && \ apt-get -y install debian-keyring debian-archive-keyring python3-pip python-pip apt DEBIAN_FRONTEND=noninteractive apt-get clean -DEBIAN_FRONTEND=noninteractive apt-get install linux-image-4.15.0-123-generic -DEBIAN_FRONTEND=noninteractive apt full-upgrade +DEBIAN_FRONTEND=noninteractive apt-get install linux-image-4.15.0-123-generic default-jre-headless default-jdk-headless +DEBIAN_FRONTEND=noninteractive apt full-upgrade useradd -m -s /bin/bash jenkins |