diskimage-builder/elements/base/pre-install.d/02-baseline-tools

17 lines
414 B
Plaintext
Raw Normal View History

#!/bin/bash
# Install baseline packages and tools.
set -e
# If lsb_release is missing, just do nothing.
DISTRO=`lsb_release -si` || true
case $DISTRO in
'Ubuntu'|'Debian')
# Note: add-apt-repository would be nice for RPM platforms too - so when we
# need something like it, create a wrapper in dpkg/bin and fedora/bin.
apt-get -y update
install-packages python-software-properties
;;
esac