forked from 0x2620/pandora
vm/firstboot.sh should work on 12.04 and 14.04
This commit is contained in:
parent
f6939ff08e
commit
83c3490568
1 changed files with 9 additions and 2 deletions
|
@ -4,7 +4,8 @@ LXC=`grep -q lxc /proc/1/environ && echo 'yes' || echo 'no'`
|
|||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get install -y \
|
||||
update-manager-core \
|
||||
python-software-properties
|
||||
software-properties-common
|
||||
[[ `lsb_release -sr` == "12.04" ]] && apt-get install -y python-software-properties
|
||||
add-apt-repository -y ppa:j/pandora
|
||||
apt-get update
|
||||
|
||||
|
@ -14,6 +15,12 @@ apt-get install -y \
|
|||
ntp
|
||||
fi
|
||||
|
||||
if [[ `lsb_release -sr` == "12.04" ]]; then
|
||||
LIBAVCODEC_EXTRA=libavcodec-extra-53
|
||||
else
|
||||
LIBAVCODEC_EXTRA=libavcodec-extra
|
||||
fi
|
||||
|
||||
apt-get install -y \
|
||||
openssh-server \
|
||||
vim \
|
||||
|
@ -42,7 +49,7 @@ apt-get install -y \
|
|||
gstreamer0.10-plugins-good \
|
||||
gstreamer0.10-plugins-bad \
|
||||
oxframe \
|
||||
libavcodec-extra-53 \
|
||||
$LIBAVCODEC_EXTRA \
|
||||
libav-tools \
|
||||
ffmpeg2theora \
|
||||
mkvtoolnix \
|
||||
|
|
Loading…
Reference in a new issue