Commit a713b8fe authored by SIMONIN Matthieu's avatar SIMONIN Matthieu
Browse files

packer: fix nas benchmarks dir permissions

parent 1ddfd87b
Pipeline #189010 passed with stages
in 12 minutes and 41 seconds
......@@ -6,7 +6,19 @@ apt-get -y install software-properties-common
apt-add-repository non-free
apt-get -y update
apt-get -y install cloud-init iperf
apt-get -y install cloud-init iperf mpi-default-bin wget vim
# Get the NAS parallel benchmark
mkdir -p /opt
cd /opt
wget https://www.nas.nasa.gov/assets/npb/NPB3.3.1.tar.gz
tar -xvzf NPB3.3.1.tar.gz
chown -R tansiv:tansiv .
mkdir -p /home/tansiv/.ssh
ssh-keygen -t rsa -f /home/tansiv/.ssh/id_rsa -P ''
cat /home/tansiv/.ssh/id_rsa.pub >> /home/tansiv/.ssh/authorized_keys
chown tansiv:tansiv -R /home/tansiv/.ssh
apt-get -y purge libx11-data xauth libxmuu1 libxcb1 libx11-6 libxext6
apt-get -y purge ppp pppconfig pppoeconf
......
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