blob: 31ded3666c7998875f57ca27071225035e5bc3d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#! /usr/bin/env bash
set -e
. /bootstrap/func.bash
echo "Setting up basic system function..."
echo "Installing basic packages..."
apt-get install -y apt-utils
apt-get install -y locales procps vim less man bash-completion software-properties-common rsync curl wget
echo "Installing basic packages done."
echo "Setting up locale..."
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
echo "Setting up locale done."
echo "Creating data dir..."
mkdir -p /data
chown $CRUPEST_DEBIAN_DEV_USER:$CRUPEST_DEBIAN_DEV_USER /data
echo "Creating data dir done."
append-bashrc bash-completion.bash
echo "Setting up basic system function done."
|