Commit 35a32794 authored by Christoph Gerum's avatar Christoph Gerum

Update vm configuration

parent bcdc6b21
......@@ -23,5 +23,9 @@ apt-get install python-pandas python-matplotlib -y
apt-get install libncurses5 libncurses5-dev libelf-dev -y
apt-get install git -y
#German keyboard Layout
echo "locales locales/default_environment_locale select de_DE.UTF-8" | debconf-set-selections -v
update-locale LANG=de_DE.UTF-8
dpkg-reconfigure -f noninteractive locales
sudo -H -u vagrant /vagrant/userconfig.sh
#!/bin/bash
klog
vagrant halt
rm -f /afs/wsi/ti/ra/vm/ra_virtualbox.ova
VBoxManage export vm_students_default_1460542887194_25706 -o /afs/wsi/ti/ra/vm/ra_virtualbox.ova
\ No newline at end of file
......@@ -4,7 +4,10 @@
echo "Running userconfig in $HOME"
cd $HOME
ca_dir="${HOME}/advanced_computer_architecture"
ca_dir="${HOME}/parallel_computer_architecture"
mkdir -p $ca_dir
cd $ca_dir
if [ ! -d gem5 ]; then
hg clone http://repo.gem5.org/gem5
......@@ -40,10 +43,14 @@ cp -r /vagrant/local_config/ssh/* ~/.ssh
mkdir -p $ca_dir
cd $ca_dir
git clone git@atreus.informatik.uni-tuebingen.de:advanced_computer_architecture/exercises.git
if [ $? -ne 0 ]; then
echo "Checkout over ssh failed trying https"
git clone https://atreus.informatik.uni-tuebingen.de/advanced_computer_architecture/exercises.git
if [ ! -d exercises ]; then
git clone git@atreus.informatik.uni-tuebingen.de:advanced_computer_architecture/exercises.git
if [ $? -ne 0 ]; then
echo "Checkout over ssh failed trying https"
git clone https://atreus.informatik.uni-tuebingen.de/advanced_computer_architecture/exercises.git
fi
else
cd exercises
git pull
fi
/vagrant/local_config/local_bootstrap.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment