7f77729ec5
This includes the install-packages implementation for dpkg, apt http proxy config, daemon blocking and unblocking. Change-Id: I8f159021d2b223d7003cec067de3aa605ad06974
17 lines
403 B
Bash
Executable File
17 lines
403 B
Bash
Executable File
#!/bin/bash
|
|
# Install baseline packages and tools.
|
|
|
|
set -e
|
|
|
|
DISTRO=`lsb_release -si`
|
|
|
|
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
|