cdn-ops/global/pre-tasks.d/020common-tools

17 lines
333 B
Plaintext
Raw Normal View History

2013-09-02 14:01:50 +00:00
#!/bin/sh
#
# Re-used example from SJD
#
set -e
stamp="$COSMOS_BASE/stamps/common-tools-v01.stamp"
if ! test -f $stamp; then
apt-get -y install vim traceroute tcpdump molly-guard less rsync git-core unattended-upgrades
2013-09-02 14:01:50 +00:00
update-alternatives --set editor /usr/bin/vim.basic
mkdir -p `dirname $stamp`
touch $stamp
fi