tripleo-image-elements/elements/base/pre-install.d/02-baseline-tools
Robert Collins f42cb641bf Fedora needs to depend on dib-run-parts too.
Change-Id: I56611d1c2bf13c8d24a87869bf8334d8e4992f6f
2013-02-15 15:34:09 +13:00

18 lines
457 B
Bash
Executable File

#!/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
add-apt-repository -y ppa:tripleo/demo
;;
esac