Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>
POSTINSTALL_CMD="/bin/true"
PKGS="git java-11-openjdk"
"debian","ubuntu")
+ PREINSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt update"
INSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt install -y"
+ POSTINSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt autopurge -y"
# SUFFIX packages with - to remove them
# Remove unattended-upgrades so that it doesn't interfere with our nodes at startup
PKGS="git default-jdk unattended-upgrades-"
- POSTINSTALL_CMD="DEBIAN_FRONTEND=noninteractive apt autopurge -y"
esac
sudo su -c "${PREINSTALL_CMD}"